diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-07-24 20:24:03 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-07-24 20:24:03 +0300 |
commit | d9675a10d5b1494458730367e1b790efc3b03bb7 (patch) | |
tree | 1ad6e0bba61faf13c15033963bf6d8166ef5db33 /storage | |
parent | eec6417e05f6b5f76758e619a44fbdb00860258a (diff) | |
download | mariadb-git-d9675a10d5b1494458730367e1b790efc3b03bb7.tar.gz |
Remove unneeded code.mariadb-galera-5.5.57
Diffstat (limited to 'storage')
-rw-r--r-- | storage/innobase/trx/trx0sys.c | 18 | ||||
-rw-r--r-- | storage/xtradb/trx/trx0sys.c | 18 |
2 files changed, 0 insertions, 36 deletions
diff --git a/storage/innobase/trx/trx0sys.c b/storage/innobase/trx/trx0sys.c index f8bd87034e8..51729e05c9d 100644 --- a/storage/innobase/trx/trx0sys.c +++ b/storage/innobase/trx/trx0sys.c @@ -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 */ diff --git a/storage/xtradb/trx/trx0sys.c b/storage/xtradb/trx/trx0sys.c index 198430f9a01..0d13de23e0e 100644 --- a/storage/xtradb/trx/trx0sys.c +++ b/storage/xtradb/trx/trx0sys.c @@ -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 */ |