Drizzled Public API Documentation

drizzled::store_key_field Class Reference
Inheritance diagram for drizzled::store_key_field:
drizzled::StoredKey drizzled::memory::SqlAlloc

List of all members.

Public Types

enum  store_key_result { STORE_KEY_OK, STORE_KEY_FATAL, STORE_KEY_CONV }

Public Member Functions

 store_key_field (Session *session, Field *to_field_arg, unsigned char *ptr, unsigned char *null_ptr_arg, uint32_t length, Field *from_field, const char *name_arg)
const char * name () const
enum store_key_result copy ()
 sets ignore truncation warnings mode and calls the real copy method

Static Public Member Functions

static void * operator new (size_t size)
static void * operator new (size_t size, Root &root)
static void * operator new (size_t size, Root *root)
static void * operator new[] (size_t size)
static void * operator new[] (size_t size, Root &root)
static void * operator new[] (size_t size, Root *root)
static void operator delete (void *)
static void operator delete (void *, Root &)
static void operator delete (void *, Root *)
static void operator delete[] (void *)
static void operator delete[] (void *, Root &)
static void operator delete[] (void *, Root *)

Public Attributes

bool null_key

Protected Member Functions

enum store_key_result copy_inner ()

Protected Attributes

Fieldto_field
unsigned char * null_ptr
unsigned char err

Private Attributes

CopyField copy_field
const char * field_name

Detailed Description

Definition at line 66 of file stored_key.h.


Member Function Documentation

StoredKey::store_key_result drizzled::StoredKey::copy ( )
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.

const char* drizzled::store_key_field::name ( ) const
inlinevirtual

Not actually needed

Implements drizzled::StoredKey.

Definition at line 84 of file stored_key.h.


Member Data Documentation

bool drizzled::StoredKey::null_key
inherited

If true, the value of the key has a null part

Definition at line 32 of file stored_key.h.


The documentation for this class was generated from the following file: