Commit 6c516e77 authored by Aleksey Midenkov's avatar Aleksey Midenkov

IB: notify VTQ on innobase_commit_ordered() [fixes #79]

parent eff649eb
......@@ -4710,6 +4710,14 @@ innobase_commit_ordered_2(
/* Don't do write + flush right now. For group commit
to work we want to do the flush later. */
trx->flush_log_later = true;
/* Notify VTQ on System Versioned tables update */
if (trx->vtq_notify_on_commit) {
vers_notify_vtq(trx);
trx->vtq_notify_on_commit = false;
}
} else {
DBUG_ASSERT(!trx->vtq_notify_on_commit);
}
innobase_commit_low(trx);
......
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