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.
This commit is contained in:
unknown 2013-01-31 11:29:58 +01:00
parent 5267af5e9e
commit a5ad8d15f6

View File

@ -40,6 +40,9 @@ while ($1)
}
--enable_query_log
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;
--source include/show_binlog_events.inc
--let $binlog_file= query_get_value(SHOW MASTER STATUS, File, 1)