summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2022-07-28 21:03:32 +0530
committerThirunarayanan Balathandayuthapani <thiru@mariadb.com>2022-07-28 21:06:57 +0530
commit38d0256b148281812315c9eeb479edb8755f57e1 (patch)
tree1f106e2de5dfd2d64fc195071726b082d91b009c
parent2658410afc313a6c44ae2915074d1e15a6e0ce97 (diff)
downloadmariadb-git-38d0256b148281812315c9eeb479edb8755f57e1.tar.gz
- Fixed the change_column_collation test case to avoid the
loss of debug sync signal
-rw-r--r--mysql-test/suite/innodb/r/change_column_collation.result2
-rw-r--r--mysql-test/suite/innodb/t/change_column_collation.test2
2 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/suite/innodb/r/change_column_collation.result b/mysql-test/suite/innodb/r/change_column_collation.result
index 54eff706276..b1771b2bd00 100644
--- a/mysql-test/suite/innodb/r/change_column_collation.result
+++ b/mysql-test/suite/innodb/r/change_column_collation.result
@@ -40,9 +40,9 @@ INSERT INTO t1 VALUES (4, 'AAA');
UPDATE t1 set msg = "ddd" where id = 2;
DELETE FROM t1 WHERE id= 3;
SET DEBUG_SYNC = 'now SIGNAL go_ahead';
-SET DEBUG_SYNC = 'RESET';
connection default;
ERROR 23000: Duplicate entry 'NULL' for key 'msg'
+SET DEBUG_SYNC = 'RESET';
SELECT * FROM t1;
id msg
4 AAA
diff --git a/mysql-test/suite/innodb/t/change_column_collation.test b/mysql-test/suite/innodb/t/change_column_collation.test
index 7d82aac7ec2..f63d1974c72 100644
--- a/mysql-test/suite/innodb/t/change_column_collation.test
+++ b/mysql-test/suite/innodb/t/change_column_collation.test
@@ -63,13 +63,13 @@ INSERT INTO t1 VALUES (4, 'AAA');
UPDATE t1 set msg = "ddd" where id = 2;
DELETE FROM t1 WHERE id= 3;
SET DEBUG_SYNC = 'now SIGNAL go_ahead';
-SET DEBUG_SYNC = 'RESET';
connection default;
--error ER_DUP_ENTRY
reap;
+SET DEBUG_SYNC = 'RESET';
SELECT * FROM t1;
DROP TABLE t1;