1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-14 13:41:20 +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

@ -7,8 +7,8 @@ set global slave_parallel_mode=optimistic;
change master to master_use_gtid=slave_pos;
include/start_slave.inc
connection server_1;
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;
connect master_node,127.0.0.1,root,,$db_name, $SERVER_MYPORT_1;
connect slave_node,127.0.0.1,root,,test, $SERVER_MYPORT_2;
# innodb
@ -58,7 +58,7 @@ include/sync_with_master_gtid.inc
disconnect master_node;
disconnect slave_node;
connection server_1;
set global binlog_alter_two_phase=No;;
set global binlog_alter_two_phase=0;
include/rpl_sync.inc
connection server_2;
select domain_id, seq_no from mysql.gtid_slave_pos order by seq_no desc limit 1;