Commit 504ff56e authored by Philip Stoev's avatar Philip Stoev Committed by Nirbhay Choubey

Adjust tests now that wsrep_OSU_method is a session variable.

parent 00afd639
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB; CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB;
SET GLOBAL wsrep_OSU_method = "RSU"; SET SESSION wsrep_OSU_method = "RSU";
SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue'; SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue';
ALTER TABLE t1 ADD COLUMN f2 INTEGER;; ALTER TABLE t1 ADD COLUMN f2 INTEGER;;
SET GLOBAL wsrep_OSU_method = "TOI"; SET GLOBAL wsrep_OSU_method = "TOI";
......
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB; CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB;
SET GLOBAL wsrep_OSU_method = "TOI"; SET SESSION wsrep_OSU_method = "TOI";
SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue'; SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue';
ALTER TABLE t1 ADD COLUMN f2 INTEGER;; ALTER TABLE t1 ADD COLUMN f2 INTEGER;;
SET SESSION wsrep_sync_wait = 0; SET SESSION wsrep_sync_wait = 0;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB; CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB;
--connection node_1 --connection node_1
SET GLOBAL wsrep_OSU_method = "RSU"; SET SESSION wsrep_OSU_method = "RSU";
SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue'; SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue';
--send ALTER TABLE t1 ADD COLUMN f2 INTEGER; --send ALTER TABLE t1 ADD COLUMN f2 INTEGER;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB; CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB;
--connection node_1 --connection node_1
SET GLOBAL wsrep_OSU_method = "TOI"; SET SESSION wsrep_OSU_method = "TOI";
SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue'; SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue';
--send ALTER TABLE t1 ADD COLUMN f2 INTEGER; --send ALTER TABLE t1 ADD COLUMN f2 INTEGER;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment