mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user