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

#include <semisync_master.h>

Inheritance diagram for ActiveTranx:
Collaboration diagram for ActiveTranx:

Public Member Functions

 ActiveTranx (mysql_mutex_t *lock, unsigned long trace_level)
int insert_tranx_node (const char *log_file_name, my_off_t log_file_pos)
int clear_active_tranx_nodes (const char *log_file_name, my_off_t log_file_pos)
bool is_tranx_end_pos (const char *log_file_name, my_off_t log_file_pos)
- Public Member Functions inherited from Trace
void function_enter (const char *func_name)
int function_exit (const char *func_name, int exit_code)
 Trace (unsigned long trace_level)

Static Public Member Functions

static int compare (const char *log_file_name1, my_off_t log_file_pos1, const char *log_file_name2, my_off_t log_file_pos2)

Additional Inherited Members

- Public Attributes inherited from Trace
unsigned long trace_level_
- Static Public Attributes inherited from Trace
static const unsigned long kTraceFunction = 0x0040
static const unsigned long kTraceGeneral = 0x0001
static const unsigned long kTraceDetail = 0x0010
static const unsigned long kTraceNetWait = 0x0020

Detailed Description

This class manages memory for active transaction list.

We record each active transaction with a TranxNode, each session can have only one open transaction. Because of EVENT, the total active transaction nodes can exceed the maximum allowed connections.

Definition at line 299 of file semisync_master.h.


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