Remove unneeded code.
This commit is contained in:
parent
eec6417e05
commit
d9675a10d5
@ -801,24 +801,6 @@ trx_sys_print_mysql_binlog_offset(void)
|
|||||||
|
|
||||||
#ifdef WITH_WSREP
|
#ifdef WITH_WSREP
|
||||||
|
|
||||||
#ifdef UNIV_DEBUG
|
|
||||||
static long long trx_sys_cur_xid_seqno = -1;
|
|
||||||
static unsigned char trx_sys_cur_xid_uuid[16];
|
|
||||||
|
|
||||||
long long read_wsrep_xid_seqno(const XID* xid)
|
|
||||||
{
|
|
||||||
long long seqno;
|
|
||||||
memcpy(&seqno, xid->data + 24, sizeof(long long));
|
|
||||||
return seqno;
|
|
||||||
}
|
|
||||||
|
|
||||||
void read_wsrep_xid_uuid(const XID* xid, unsigned char* buf)
|
|
||||||
{
|
|
||||||
memcpy(buf, xid->data + 8, 16);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif /* UNIV_DEBUG */
|
|
||||||
|
|
||||||
void
|
void
|
||||||
trx_sys_update_wsrep_checkpoint(
|
trx_sys_update_wsrep_checkpoint(
|
||||||
const XID* xid, /*!< in: transaction XID */
|
const XID* xid, /*!< in: transaction XID */
|
||||||
|
@ -966,24 +966,6 @@ trx_sys_print_mysql_binlog_offset(void)
|
|||||||
|
|
||||||
#ifdef WITH_WSREP
|
#ifdef WITH_WSREP
|
||||||
|
|
||||||
#ifdef UNIV_DEBUG
|
|
||||||
static long long trx_sys_cur_xid_seqno = -1;
|
|
||||||
static unsigned char trx_sys_cur_xid_uuid[16];
|
|
||||||
|
|
||||||
long long read_wsrep_xid_seqno(const XID* xid)
|
|
||||||
{
|
|
||||||
long long seqno;
|
|
||||||
memcpy(&seqno, xid->data + 24, sizeof(long long));
|
|
||||||
return seqno;
|
|
||||||
}
|
|
||||||
|
|
||||||
void read_wsrep_xid_uuid(const XID* xid, unsigned char* buf)
|
|
||||||
{
|
|
||||||
memcpy(buf, xid->data + 8, 16);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif /* UNIV_DEBUG */
|
|
||||||
|
|
||||||
void
|
void
|
||||||
trx_sys_update_wsrep_checkpoint(
|
trx_sys_update_wsrep_checkpoint(
|
||||||
const XID* xid, /*!< in: transaction XID */
|
const XID* xid, /*!< in: transaction XID */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user