MySQL 8.4.0
Source Code Documentation
clone0repl.cc File Reference

Innodb Clone Replication Coordinates. More...

#include "clone0repl.h"
#include "clone0api.h"
#include "clone0clone.h"
#include "mysql/gtid/gtid.h"
#include "sql/field.h"
#include "sql/mysqld.h"
#include "sql/rpl_gtid_persist.h"
#include "sql/sql_class.h"
#include "sql/sql_thd_internal_api.h"

Functions

THDthd_get_current_thd ()
 Get current THD object from thread local data. More...
 
static void clone_gtid_thread (Clone_persist_gtid *persist_gtid)
 Persist GTID to on disk table from time to time. More...
 

Detailed Description

Innodb Clone Replication Coordinates.

Function Documentation

◆ clone_gtid_thread()

static void clone_gtid_thread ( Clone_persist_gtid persist_gtid)
static

Persist GTID to on disk table from time to time.

Parameters
[in,out]persist_gtidGTID persister

◆ thd_get_current_thd()

THD * thd_get_current_thd ( )

Get current THD object from thread local data.

Return values
TheTHD object for the thread, NULL if not connection thread