1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-28 17:36:30 +03:00
Files
mariadb/mysql-test/suite/galera/r/galera_var_OSU_method.result
2015-07-14 16:05:29 -04:00

17 lines
565 B
Plaintext

CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB;
SET SESSION wsrep_OSU_method = "RSU";
SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue';
ALTER TABLE t1 ADD COLUMN f2 INTEGER;;
SET GLOBAL wsrep_OSU_method = "TOI";
SET DEBUG_SYNC= 'now SIGNAL continue';
SELECT COUNT(*) = 2 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 't1';
COUNT(*) = 2
1
SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 't1';
COUNT(*) = 1
1
SET SESSION wsrep_OSU_method = "TOI";
SET DEBUG_SYNC= 'RESET';
SET DEBUG_SYNC= 'RESET';
DROP TABLE t1;