My Project
|
#include <sql_select.h>
Public Types | |
enum | store_key_result { STORE_KEY_OK, STORE_KEY_FATAL, STORE_KEY_CONV } |
Public Member Functions | |
store_key (THD *thd, Field *field_arg, uchar *ptr, uchar *null, uint length) | |
virtual const char * | name () const =0 |
enum store_key_result | copy () |
sets ignore truncation warnings mode and calls the real copy method | |
Public Attributes | |
bool | null_key |
Protected Member Functions | |
virtual enum store_key_result | copy_inner ()=0 |
Protected Attributes | |
Field * | to_field |
uchar * | null_ptr |
uchar | err |
class to copying an field/item to a key struct
enum store_key_result store_key::copy | ( | ) | [inline] |
sets ignore truncation warnings mode and calls the real copy method
this function makes sure truncation warnings when preparing the key buffers don't end up as errors (because of an enclosing INSERT/UPDATE).
virtual const char* store_key::name | ( | ) | const [pure virtual] |
Not actually needed
Implemented in store_key_const_item, store_key_item, and store_key_field.