mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-22530: Aborting OPTIMIZE TABLE still logs in binary log and replicates to the Slave server.
Post push fix to address test issue.
This commit is contained in:
@@ -20,7 +20,7 @@ master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (f INT) ENGINE=INNODB
|
|||||||
master-bin.000001 # Gtid # # GTID #-#-#
|
master-bin.000001 # Gtid # # GTID #-#-#
|
||||||
master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (f INT) ENGINE=INNODB
|
master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (f INT) ENGINE=INNODB
|
||||||
DROP TABLE t1,t2;
|
DROP TABLE t1,t2;
|
||||||
FLUSH LOGS;
|
RESET MASTER;
|
||||||
#
|
#
|
||||||
# Kill OPTIMIZE command after table modification
|
# Kill OPTIMIZE command after table modification
|
||||||
#
|
#
|
||||||
|
@@ -56,7 +56,7 @@ SET debug_sync = 'reset';
|
|||||||
--source include/show_binlog_events.inc
|
--source include/show_binlog_events.inc
|
||||||
DROP TABLE t1,t2;
|
DROP TABLE t1,t2;
|
||||||
|
|
||||||
FLUSH LOGS;
|
RESET MASTER;
|
||||||
|
|
||||||
--echo #
|
--echo #
|
||||||
--echo # Kill OPTIMIZE command after table modification
|
--echo # Kill OPTIMIZE command after table modification
|
||||||
@@ -81,6 +81,9 @@ eval KILL $thd_id;
|
|||||||
SET debug_sync = 'reset';
|
SET debug_sync = 'reset';
|
||||||
--disconnect con1
|
--disconnect con1
|
||||||
|
|
||||||
|
--let $wait_binlog_event= OPTIMIZE
|
||||||
|
--source include/wait_for_binlog_event.inc
|
||||||
|
|
||||||
DROP TABLE t1,t2;
|
DROP TABLE t1,t2;
|
||||||
let $binlog_file= query_get_value(SHOW MASTER STATUS, File, 1);
|
let $binlog_file= query_get_value(SHOW MASTER STATUS, File, 1);
|
||||||
FLUSH LOGS;
|
FLUSH LOGS;
|
||||||
|
Reference in New Issue
Block a user