summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/trx0trx.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-03-23 11:48:56 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2017-03-23 11:50:22 +0000
commite5b67a46bcb75a751f5906f19694971bc803d67c (patch)
treeeedc485ef1f5dec061c315b6ffe54a76e496f003 /storage/xtradb/include/trx0trx.h
parent09a2107b1b2f5567b8a50afec9e54a33284c6233 (diff)
downloadmariadb-git-e5b67a46bcb75a751f5906f19694971bc803d67c.tar.gz
MDEV-12345 Performance : replace calls to clock() inside trx_start_low() by THD::start_utime
Diffstat (limited to 'storage/xtradb/include/trx0trx.h')
-rw-r--r--storage/xtradb/include/trx0trx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/include/trx0trx.h b/storage/xtradb/include/trx0trx.h
index fc710a86d74..9e2064c3dc2 100644
--- a/storage/xtradb/include/trx0trx.h
+++ b/storage/xtradb/include/trx0trx.h
@@ -882,7 +882,7 @@ struct trx_t{
time_t start_time; /*!< time the trx state last time became
TRX_STATE_ACTIVE */
- clock_t start_time_micro; /*!< start time of transaction in
+ ib_uint64_t start_time_micro; /*!< start time of transaction in
microseconds */
trx_id_t id; /*!< transaction id */
XID xid; /*!< X/Open XA transaction