My Project
|
#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) |
An insert operation that can be delayed.
void Delayable_insert_operation::set_dup_and_ignore | ( | enum enum_duplicates | d, |
bool | i | ||
) | [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.
virtual void Delayable_insert_operation::set_function_defaults | ( | TABLE * | table | ) | [inline, virtual] |
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.