Skip to content

Commit

Permalink
IB: vtq_notify_on_commit initialization fix
Browse files Browse the repository at this point in the history
  • Loading branch information
midenok committed Oct 9, 2017
1 parent d7a484b commit 8e19366
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion storage/innobase/trx/trx0trx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ trx_init(

trx->check_unique_secondary = true;

trx->vtq_notify_on_commit = false;

trx->lock.n_rec_locks = 0;

trx->dict_operation = TRX_DICT_OP_NONE;
Expand Down Expand Up @@ -1363,7 +1365,6 @@ trx_start_low(
trx->start_time_micro += trx->start_time * 1000000;
}

trx->vtq_notify_on_commit = false;
ut_a(trx->error_state == DB_SUCCESS);

MONITOR_INC(MONITOR_TRX_ACTIVE);
Expand Down

0 comments on commit 8e19366

Please sign in to comment.