YoushouldhavereceivedacopyoftheGNUGeneralPublicLicense alongwiththisprogram;ifnot,writetotheFreeSoftware
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
#ifndef RPL_GTID_BASE_H #define RPL_GTID_BASE_H
#include"hash.h"
/* Definitions for MariaDB global transaction ID (GTID). */
Thisbaseclassrpl_binlog_state_basecontainsjustbebasicdataoperations toinsert/updateGTIDs,andisusedeg.fromGtid_index_*.
*/ struct rpl_binlog_state_base
{ struct element {
uint32 domain_id;
HASH hash; /* Containing all server_id for one domain_id */ /* The most recent entry in the hash. */
rpl_gtid *last_gtid; /* Counter to allocate next seq_no for this domain. */
uint64 seq_no_counter;
int update_element(const rpl_gtid *gtid);
};
/* Mapping from domain_id to collection of elements. */
HASH hash;
my_bool initialized;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.