Skip to content

Commit

Permalink
MDEV-26672 test fixup
Browse files Browse the repository at this point in the history
Occasionally, after restart, additional transactions will have been
executed, possibly related to innodb_stats_auto_recalc.

We should only care that the transaction ID sequence does
not go backwards.
  • Loading branch information
dr-m committed Sep 29, 2021
1 parent a135287 commit 4e9366d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysql-test/suite/innodb/t/undo_truncate.test
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ let $trx_after= `select substr('$trx_after',9)`;

drop table t1, t2;

if ($trx_before != $trx_after)
if ($trx_before > $trx_after)
{
echo Transaction sequence mismatch: $trx_before != $trx_after;
echo Transaction sequence mismatch: $trx_before > $trx_after;
}

0 comments on commit 4e9366d

Please sign in to comment.