Commit a5ad8d15 authored by unknown's avatar unknown

MDEV-4121: binlog.binlog_row_binlog sporadic test failure

Add a wait for binlog checkpoint to avoid thread scheduling
giving different binlog order at random.
parent 5267af5e
...@@ -40,6 +40,9 @@ while ($1) ...@@ -40,6 +40,9 @@ while ($1)
} }
--enable_query_log --enable_query_log
commit; commit;
# Make sure binlog checkpoint is logged before DROP TABLE to avoid random
# result difference.
--source include/wait_for_binlog_checkpoint.inc
drop table t1; drop table t1;
--source include/show_binlog_events.inc --source include/show_binlog_events.inc
--let $binlog_file= query_get_value(SHOW MASTER STATUS, File, 1) --let $binlog_file= query_get_value(SHOW MASTER STATUS, File, 1)
......
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