MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
injector::transaction Class Reference

Classes

class  binlog_pos
class  table

Public Types

typedef uchar * record_type
typedef uint32 server_id_type

Public Member Functions

 transaction (transaction const &)
void clear ()
bool good () const
transactionoperator= (transaction t)
int use_table (server_id_type sid, table tbl)
int write_row (server_id_type sid, table tbl, MY_BITMAP const *cols, size_t colcnt, record_type record, const uchar *extra_row_info)
int write_row (server_id_type sid, table tbl, MY_BITMAP const *cols, size_t colcnt, record_type record)
int delete_row (server_id_type sid, table tbl, MY_BITMAP const *cols, size_t colcnt, record_type record, const uchar *extra_row_info)
int delete_row (server_id_type sid, table tbl, MY_BITMAP const *cols, size_t colcnt, record_type record)
int update_row (server_id_type sid, table tbl, MY_BITMAP const *cols, size_t colcnt, record_type before, record_type after, const uchar *extra_row_info)
int update_row (server_id_type sid, table tbl, MY_BITMAP const *cols, size_t colcnt, record_type before, record_type after)
int commit ()
int rollback ()
binlog_pos start_pos () const
binlog_pos next_pos () const

Friends

class injector

Detailed Description

Definition at line 73 of file rpl_injector.h.

Member Function Documentation

int injector::transaction::commit ( )
Return values
0transaction committed
1transaction rolled back

Definition at line 93 of file rpl_injector.cc.


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