#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 |
Additional Inherited Members |
static void * | operator new (size_t size) throw () |
static void * | operator new[] (size_t size) throw () |
static void * | operator new[] (size_t size, MEM_ROOT *mem_root) throw () |
static void * | operator new (size_t size, MEM_ROOT *mem_root) throw () |
static void | operator delete (void *ptr, size_t size) |
static void | operator delete (void *ptr, MEM_ROOT *mem_root) |
static void | operator delete[] (void *ptr, MEM_ROOT *mem_root) |
static void | operator delete[] (void *ptr, size_t size) |
Detailed Description
class to copying an field/item to a key struct
Definition at line 1132 of file sql_select.h.
Member Function Documentation
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).
Definition at line 1165 of file sql_select.h.
virtual const char* store_key::name |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: