My Project
Public Member Functions
Delayable_insert_operation Class Reference

#include <delayable_insert_operation.h>

Inheritance diagram for Delayable_insert_operation:
COPY_INFO Sql_alloc

List of all members.

Public Member Functions

virtual void set_function_defaults (TABLE *table)
void set_dup_and_ignore (enum enum_duplicates d, bool i)

Detailed Description

An insert operation that can be delayed.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines