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

@@ -1,6 +1,6 @@
#
# MENT-662 Lag Free alter for slave
# In this we will see if chain replication works as
# In this we will see if chain replication works as
# M->S(Legacy)->S(Parallel)->S(Legacy, without log-slave-upadates)
#
--source include/have_innodb.inc
@@ -22,8 +22,8 @@ change master to master_use_gtid=slave_pos;
--connection server_1
--let $binlog_alter_two_phase= `select @@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;
--let $engine=innodb
--let $sync_slave= 1
connect(master_node,127.0.0.1,root,,$db_name, $SERVER_MYPORT_1);
@@ -32,7 +32,7 @@ connect(slave_node,127.0.0.1,root,,test, $SERVER_MYPORT_2);
--disconnect master_node
--disconnect slave_node
--connection server_1
--eval set global binlog_alter_two_phase=$binlog_alter_two_phase;
--eval set global binlog_alter_two_phase=$binlog_alter_two_phase
--source include/rpl_sync.inc