-
Notifications
You must be signed in to change notification settings - Fork 267
rpl_data_structures
Georg Richter edited this page Oct 22, 2018
·
8 revisions
Structures and type definitions for Binglog/Replication API are defined in source file include/mariadb_rpl.h
.
MARIADB_STRING
is a simple structure (same as MYSQL_STRING
and MYSQL_LEX_STRING
) which stores a string together with its length.
typedef struct {
char *str;
size_t length;
} MARIADB_STRING;
MARIADB_GTID
is used to store the global transaction id. The global transaction id is defined by three numbers:
The domain id, the server id and the sequence number.
typedef struct st_mariadb_gtid {
unsigned int domain_id;
unsigned int server_id;
unsigned long long sequence_nr;
} MARIADB_GTID;
MariaDB Connector/C Reference