Commit 79688b05 authored by Aleksey Midenkov's avatar Aleksey Midenkov

IB: missed start_time_micro in minor ways of trx start

parent 642525b9
......@@ -183,7 +183,8 @@ trx_purge_graph_build(sess_t* sess)
ut_ad(trx->sess == sess);
trx->id = 0;
trx->start_time = ut_time();
ut_usectime((ulong *)&trx->start_time,
(ulong *)&trx->start_time_micro);
trx->state = TRX_STATE_ACTIVE;
trx->op_info = "purge trx";
......
......@@ -880,7 +880,8 @@ trx_resurrect_insert(
if (trx->state == TRX_STATE_ACTIVE
|| trx->state == TRX_STATE_PREPARED) {
trx->start_time = ut_time();
ut_usectime((ulong *)&trx->start_time,
(ulong *)&trx->start_time_micro);
}
if (undo->dict_operation) {
......@@ -980,7 +981,8 @@ trx_resurrect_update(
start time here.*/
if (trx->state == TRX_STATE_ACTIVE
|| trx->state == TRX_STATE_PREPARED) {
trx->start_time = ut_time();
ut_usectime((ulong *)&trx->start_time,
(ulong *)&trx->start_time_micro);
}
if (undo->dict_operation) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment