diff --git a/mysql-test/main/alter_table_online.test b/mysql-test/main/alter_table_online.test index a3e88bc544a..f439f2a1fbf 100644 --- a/mysql-test/main/alter_table_online.test +++ b/mysql-test/main/alter_table_online.test @@ -46,6 +46,7 @@ set sql_mode=default; --echo # --echo # MDEV-28944 XA assertions failing in binlog_rollback and binlog_commit --echo # +--disable_view_protocol CREATE TABLE t (a INT) ENGINE=MyISAM; INSERT INTO t VALUES (1); @@ -65,6 +66,7 @@ XA COMMIT 'xid' ONE PHASE; DROP TABLE t; --disconnect con1 --connection default +--enable_view_protocol --echo # --echo # MDEV-29068 Cascade foreign key updates do not apply in online alter diff --git a/mysql-test/main/alter_table_online_debug.test b/mysql-test/main/alter_table_online_debug.test index 1376fcb5d7a..f6117acc1b7 100644 --- a/mysql-test/main/alter_table_online_debug.test +++ b/mysql-test/main/alter_table_online_debug.test @@ -61,9 +61,11 @@ set debug_sync= 'now SIGNAL end'; --connection con2 commit; --connection default +--disable_view_protocol select variable_value into @otd from information_schema.session_status where variable_name='Opened_table_definitions'; select * from t1; select variable_value-@otd from information_schema.session_status where variable_name='Opened_table_definitions'; +--enable_view_protocol --echo # long transaction and add column create or replace table t1 (a int); @@ -693,6 +695,7 @@ alter table t1 add b int NULL, algorithm= copy, lock= none; --connection con2 --reap update t1 set a= 222 where a = 2; +--disable_view_protocol savepoint whoopsie; update t1 set a= 123 where a = 1; insert t3 values (2); @@ -702,6 +705,7 @@ rollback to savepoint whoopsie; select * from t1; select * from t3; commit; +--enable_view_protocol set debug_sync= 'now SIGNAL end';