Public Types | |
enum | store_key_result { STORE_KEY_OK, STORE_KEY_FATAL, STORE_KEY_CONV } |
Public Member Functions | |
store_key_item (Session *session, Field *to_field_arg, unsigned char *ptr, unsigned char *null_ptr_arg, uint32_t length, Item *item_arg) | |
const char * | name () const |
enum store_key_result | copy () |
sets ignore truncation warnings mode and calls the real copy method |
Public Attributes | |
bool | null_key |
Protected Member Functions | |
enum store_key_result | copy_inner () |
Protected Attributes | |
Item * | item |
Field * | to_field |
unsigned char * | null_ptr |
unsigned char | err |
Definition at line 95 of file stored_key.h.
|
inherited |
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).
Definition at line 62 of file stored_key.cc.
References drizzled::Table::in_use.
|
inlinevirtual |
Not actually needed
Implements drizzled::StoredKey.
Reimplemented in drizzled::store_key_const_item.
Definition at line 107 of file stored_key.h.
|
inherited |
If true, the value of the key has a null part
Definition at line 32 of file stored_key.h.