File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,4 @@ ALTER TABLE t1 ADD COLUMN f2 INTEGER;
5
5
SELECT COUNT(*) = 2 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME='t1';
6
6
COUNT(*) = 2
7
7
1
8
- SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
9
- VARIABLE_VALUE = 2
10
- 1
11
8
DROP TABLE t1;
Original file line number Diff line number Diff line change @@ -28,8 +28,13 @@ ALTER TABLE t1 ADD COLUMN f2 INTEGER;
28
28
--source include/galera_connect.inc
29
29
--connection node_2a
30
30
31
+ --let $wait_condition = SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
32
+ --source include/wait_condition.inc
33
+
34
+ --let $wait_condition = SELECT VARIABLE_VALUE = 'Primary' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status';
35
+ --source include/wait_condition.inc
36
+
31
37
SELECT COUNT(*) = 2 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME='t1';
32
- SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
33
38
34
39
--connection node_1
35
40
--disable_query_log
You can’t perform that action at this time.
0 commit comments