Skip to content

Commit

Permalink
Remove unneeded code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Lindström committed Jul 24, 2017
1 parent eec6417 commit d9675a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
18 changes: 0 additions & 18 deletions storage/innobase/trx/trx0sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -801,24 +801,6 @@ trx_sys_print_mysql_binlog_offset(void)

#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
trx_sys_update_wsrep_checkpoint(
const XID* xid, /*!< in: transaction XID */
Expand Down
18 changes: 0 additions & 18 deletions storage/xtradb/trx/trx0sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -966,24 +966,6 @@ trx_sys_print_mysql_binlog_offset(void)

#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
trx_sys_update_wsrep_checkpoint(
const XID* xid, /*!< in: transaction XID */
Expand Down

0 comments on commit d9675a1

Please sign in to comment.