MySQL 5.6.14 Source Code Document
|
#include <delayable_insert_operation.h>
Public Member Functions | |
virtual void | set_function_defaults (TABLE *table) |
void | set_dup_and_ignore (enum enum_duplicates d, bool i) |
![]() | |
COPY_INFO (operation_type optype, List< Item > *inserted_columns, bool manage_defaults, enum_duplicates duplicate_handling, bool ignore_errors) | |
COPY_INFO (operation_type optype, List< Item > *inserted_columns, List< Item > *inserted_columns2, bool manage_defaults, enum_duplicates duplicates_handling, bool ignore_duplicates, int escape_character) | |
COPY_INFO (operation_type optype, List< Item > *fields, List< Item > *values) | |
operation_type | get_operation_type () const |
List< Item > * | get_changed_columns () const |
const List< Item > * | get_changed_columns2 () const |
bool | get_manage_defaults () const |
enum_duplicates | get_duplicate_handling () const |
bool | get_ignore_errors () const |
bool | add_function_default_columns (TABLE *table, MY_BITMAP *columns) |
bool | function_defaults_apply (const TABLE *table) const |
bool | function_defaults_apply_on_columns (MY_BITMAP *map) |
bool | ignore_last_columns (TABLE *table, uint count) |
virtual | ~COPY_INFO () |
Additional Inherited Members | |
![]() | |
enum | operation_type { INSERT_OPERATION, UPDATE_OPERATION } |
![]() | |
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) |
![]() | |
Statistics | stats |
int | escape_char |
int | last_errno |
List< Item > * | update_values |
![]() | |
bool | get_function_default_columns (TABLE *table) |
MY_BITMAP * | get_cached_bitmap () const |
![]() | |
enum enum_duplicates | handle_duplicates |
bool | ignore |
An insert operation that can be delayed.
Definition at line 25 of file delayable_insert_operation.h.
|
inline |
This is a backdoor interface for supporting legacy code for delayed inserts. The delayed insert handler abuses COPY_INFO by having a shared instance for all delayed insert operations, and keeping a copy of the state that is local to the current insert operation inside each delayed row. Then these two members must be altered before writing each record.
Definition at line 56 of file delayable_insert_operation.h.
|
inlinevirtual |
Does nothing. A Delayable_insert_operation expects to have its function defaults evaluated by the client thread, prior to handing over the row to the delayed insert thread.
Reimplemented from COPY_INFO.
Definition at line 46 of file delayable_insert_operation.h.