MySQL 8.0.40
Source Code Documentation
|
Table EVENTS_TRANSACTIONS_xxx (implementation). More...
#include "storage/perfschema/table_events_transactions.h"
#include <assert.h>
#include <stddef.h>
#include "my_compiler.h"
#include "my_thread.h"
#include "sql/field.h"
#include "sql/plugin_table.h"
#include "sql/table.h"
#include "sql/xa.h"
#include "storage/perfschema/pfs_buffer_container.h"
#include "storage/perfschema/pfs_events_transactions.h"
#include "storage/perfschema/pfs_instr.h"
#include "storage/perfschema/pfs_instr_class.h"
#include "storage/perfschema/pfs_timer.h"
#include "storage/perfschema/table_helper.h"
Functions | |
static size_t | xid_to_hex (char *buf, size_t buf_len, PSI_xid *xid, size_t offset, size_t length) |
Convert the XID to HEX string prefixed by '0x'. More... | |
static void | xid_store (Field *field, PSI_xid *xid, size_t offset, size_t length) |
Store the XID in printable format if possible, otherwise convert to a string of hex digits. More... | |
static void | xid_store_bqual (Field *field, PSI_xid *xid) |
static void | xid_store_gtrid (Field *field, PSI_xid *xid) |
Variables | |
static const ulong | XID_BUFFER_SIZE = XIDDATASIZE * 2 + 2 + 1 |
Size of XID converted to null-terminated hex string prefixed with 0x. More... | |
Table EVENTS_TRANSACTIONS_xxx (implementation).
Store the XID in printable format if possible, otherwise convert to a string of hex digits.
field | Record field |
xid | XID structure |
offset | offset into XID.data[] |
length | number of bytes to process |
|
static |
Convert the XID to HEX string prefixed by '0x'.
[out] | buf | output hex string buffer, null-terminated |
buf_len | size of buffer, must be at least XID_BUFFER_SIZE | |
xid | XID structure | |
offset | offset into XID.data[] | |
length | number of bytes to process |
|
static |
Size of XID converted to null-terminated hex string prefixed with 0x.