summaryrefslogtreecommitdiff
path: root/storage/xtradb/trx/trx0purge.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/trx/trx0purge.cc')
-rw-r--r--storage/xtradb/trx/trx0purge.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/xtradb/trx/trx0purge.cc b/storage/xtradb/trx/trx0purge.cc
index 16f985833b5..f4e4d2f42ea 100644
--- a/storage/xtradb/trx/trx0purge.cc
+++ b/storage/xtradb/trx/trx0purge.cc
@@ -146,7 +146,8 @@ trx_purge_sys_create(
here only because the query threads code requires it. It is otherwise
quite unnecessary. We should get rid of it eventually. */
purge_sys->trx->id = 0;
- purge_sys->trx->start_time = ut_time();
+ purge_sys->trx->start_time = time(NULL);
+ purge_sys->trx->start_time_micro = microsecond_interval_timer();
purge_sys->trx->state = TRX_STATE_ACTIVE;
purge_sys->trx->op_info = "purge trx";