1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-11675. Convert the new session var to bool type and test changes

The new @@binlog_alter_two_phase is converted to `my_bool` type.
This commit is contained in:
Andrei
2022-01-31 19:27:22 +02:00
parent a64991df9d
commit fe2d90cca9
40 changed files with 112 additions and 116 deletions

View File

@@ -19,8 +19,8 @@
--connection server_1
SET @save_binlog_alter_two_phase= @@GLOBAL.binlog_alter_two_phase;
SET GLOBAL binlog_alter_two_phase=Yes;
SET binlog_alter_two_phase=Yes;
SET GLOBAL binlog_alter_two_phase = ON;
SET binlog_alter_two_phase = ON;
--echo # Create table and perform CA and RA
CREATE TABLE t1( a INT, b INT) ENGINE=InnoDB;
INSERT INTO t1 VALUES(1,1);
@@ -54,7 +54,7 @@ remove_file $MYSQLTEST_VARDIR/tmp/master_1.sql;
--connection server_2
SET @save_binlog_alter_two_phase= @@GLOBAL.binlog_alter_two_phase;
SET GLOBAL binlog_alter_two_phase=Yes;
SET GLOBAL binlog_alter_two_phase = ON;
--connection server_3
SET @save_gtid_strict_mode= @@GLOBAL.gtid_strict_mode;