Skip to content

Commit b371afc

Browse files
author
Andrei Elkin
committed
Bug #25755137 post-push. Inadvertently dropped SET DEBUG_SYNC is restored in the test. Otherwise there would be chances for the test to fail. Approved by Joao \thanks for discussion and offering an alternative approach.
1 parent 6f47a5a commit b371afc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

mysql-test/suite/binlog/r/binlog_atomic_ddl_rollback.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ CREATE TABLE t1 (a int);
22
CREATE TABLE t2 (a int);
33
CREATE VIEW v_12 AS SELECT t1.a AS a, t2.a AS b FROM t1,t2;
44
CREATE TEMPORARY TABLE tmp (a INT) ENGINE=innodb;
5+
SET DEBUG_SYNC= 'action_after_write_bin_log WAIT_FOR continue';
56
ALTER TABLE t2 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1;
67
DROP TABLE t1,t2;
78
SET DEBUG_SYNC= 'now SIGNAL continue';

mysql-test/suite/binlog/t/binlog_atomic_ddl_rollback.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ CREATE VIEW v_12 AS SELECT t1.a AS a, t2.a AS b FROM t1,t2;
2222
CREATE TEMPORARY TABLE tmp (a INT) ENGINE=innodb;
2323

2424
--connection default
25+
SET DEBUG_SYNC= 'action_after_write_bin_log WAIT_FOR continue';
2526
--send ALTER TABLE t2 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1
2627

2728
# Deadlock's 2nd participant

0 commit comments

Comments
 (0)