Commit aefddfe3 authored by unknown's avatar unknown

Fix sporadic test failures in rpl_mariadb_slave_capability.test.

The problem is the async binlog checkpointing; this could on rare
occasions occur too late, causing SHOW BINLOG EVENTS to show the
wrong events and cause .result file difference.
parent 4c56dfe9
...@@ -58,6 +58,7 @@ set @@global.debug_dbug= @old_slave_dbug; ...@@ -58,6 +58,7 @@ set @@global.debug_dbug= @old_slave_dbug;
connection master; connection master;
set @@global.binlog_checksum = CRC32; set @@global.binlog_checksum = CRC32;
--source include/wait_for_binlog_checkpoint.inc
TRUNCATE t1; TRUNCATE t1;
let $binlog_file= query_get_value(SHOW MASTER STATUS, File, 1); let $binlog_file= query_get_value(SHOW MASTER STATUS, File, 1);
let $binlog_start= query_get_value(SHOW MASTER STATUS, Position, 1); let $binlog_start= query_get_value(SHOW MASTER STATUS, Position, 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