Skip to content

Commit 6c516e7

Browse files
committed
IB: notify VTQ on innobase_commit_ordered() [fixes #79]
1 parent eff649e commit 6c516e7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

storage/innobase/handler/ha_innodb.cc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4710,6 +4710,14 @@ innobase_commit_ordered_2(
47104710
/* Don't do write + flush right now. For group commit
47114711
to work we want to do the flush later. */
47124712
trx->flush_log_later = true;
4713+
4714+
/* Notify VTQ on System Versioned tables update */
4715+
if (trx->vtq_notify_on_commit) {
4716+
vers_notify_vtq(trx);
4717+
trx->vtq_notify_on_commit = false;
4718+
}
4719+
} else {
4720+
DBUG_ASSERT(!trx->vtq_notify_on_commit);
47134721
}
47144722

47154723
innobase_commit_low(trx);

0 commit comments

Comments
 (0)