My Project
Public Member Functions | Public Attributes
Xid_log_event Class Reference

#include <log_event.h>

Inheritance diagram for Xid_log_event:
Log_event

List of all members.

Public Member Functions

void print (FILE *file, PRINT_EVENT_INFO *print_event_info)
 Xid_log_event (const char *buf, const Format_description_log_event *description_event)
Log_event_type get_type_code ()
int get_data_size ()
bool is_valid () const
virtual bool ends_group ()

Public Attributes

my_xid xid

Detailed Description

Logs xid of the transaction-to-be-committed in the 2pc protocol. Has no meaning in replication, slaves ignore it.

Binary Format


Constructor & Destructor Documentation

Xid_log_event::Xid_log_event ( const char *  buf,
const Format_description_log_event description_event 
)
Note:
It's ok not to use int8store here, as long as xid_t::set(ulonglong) and xid_t::get_my_xid doesn't do it either. We don't care about actual values of xids as long as identical numbers compare identically

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