My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Types | Public Member Functions | Friends
injector::transaction Class Reference

List of all members.

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

Member Function Documentation

Return values:
0transaction committed
1transaction rolled back

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