File tree Expand file tree Collapse file tree 3 files changed +20
-13
lines changed Expand file tree Collapse file tree 3 files changed +20
-13
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ MW-388 : MDEV-13549 Galera test failures
30
30
galera_sst_mysqldump_with_key : MDEV-16890 Galera test failure
31
31
galera_binlog_stmt_autoinc: MDEV-17106 Test failure on galera.galera_binlog_stmt_autoinc
32
32
galera_gc_fc_limit : MDEV-17061 Test failure on galera.galera_gc_fc_limit
33
- partition : MDEV-13881 galera.partition failed in buildbot with wrong result
34
33
galera_as_slave_replication_budle : MDEV-15785 Test case galera_as_slave_replication_bundle caused debug assertion
35
34
galera_wan : MDEV-17259: Test failure on galera.galera_wan
36
35
galera_pc_ignore_sb : MDEV-17357 Test failure on galera.galera_pc_ignore_sb
Original file line number Diff line number Diff line change @@ -109,19 +109,19 @@ DROP TABLE t1, p1;
109
109
SET GLOBAL wsrep_load_data_splitting = ON;
110
110
CREATE TABLE t1 (pk INT PRIMARY KEY)
111
111
ENGINE=INNODB PARTITION BY HASH(pk) PARTITIONS 2;
112
- SELECT COUNT(*) = 20002 FROM t1;
113
- COUNT(*) = 20002
114
- 1
112
+ SELECT COUNT(*) FROM t1;
113
+ COUNT(*)
114
+ 20002
115
115
wsrep_last_committed_diff
116
116
1
117
117
DROP TABLE t1;
118
118
# Case 2: wsrep_load_data_splitting = ON & LOAD DATA with 101 entries.
119
119
SET GLOBAL wsrep_load_data_splitting = ON;
120
120
CREATE TABLE t1 (pk INT PRIMARY KEY)
121
121
ENGINE=INNODB PARTITION BY HASH(pk) PARTITIONS 2;
122
- SELECT COUNT(*) = 101 FROM t1;
123
- COUNT(*) = 101
124
- 1
122
+ SELECT COUNT(*) FROM t1;
123
+ COUNT(*)
124
+ 101
125
125
wsrep_last_committed_diff
126
126
1
127
127
DROP TABLE t1;
@@ -130,9 +130,9 @@ DROP TABLE t1;
130
130
SET GLOBAL wsrep_load_data_splitting = OFF;
131
131
CREATE TABLE t1 (pk INT PRIMARY KEY)
132
132
ENGINE=INNODB PARTITION BY HASH(pk) PARTITIONS 2;
133
- SELECT COUNT(*) = 20002 FROM t1;
134
- COUNT(*) = 20002
135
- 1
133
+ SELECT COUNT(*) FROM t1;
134
+ COUNT(*)
135
+ 20002
136
136
wsrep_last_committed_diff
137
137
1
138
138
DROP TABLE t1;
Original file line number Diff line number Diff line change @@ -129,7 +129,10 @@ CREATE TABLE t1 (pk INT PRIMARY KEY)
129
129
--let $wsrep_last_committed_after = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME = 'wsrep_last_committed'`
130
130
131
131
--connection node_2
132
- SELECT COUNT(*) = 20002 FROM t1;
132
+ --let $wait_condition = SELECT COUNT(*) = 20002 FROM t1;
133
+ --source include/wait_condition.inc
134
+
135
+ SELECT COUNT(*) FROM t1;
133
136
134
137
# LOAD-ing 20002 rows causes 3 commits to be registered
135
138
--disable_query_log
@@ -157,7 +160,10 @@ CREATE TABLE t1 (pk INT PRIMARY KEY)
157
160
--let $wsrep_last_committed_after = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME = 'wsrep_last_committed'`
158
161
159
162
--connection node_2
160
- SELECT COUNT(*) = 101 FROM t1;
163
+ --let $wait_condition = SELECT COUNT(*) = 101 FROM t1;
164
+ --source include/wait_condition.inc
165
+
166
+ SELECT COUNT(*) FROM t1;
161
167
162
168
# LOAD-ing 101 rows causes 1 commit to be registered
163
169
--disable_query_log
@@ -186,7 +192,9 @@ CREATE TABLE t1 (pk INT PRIMARY KEY)
186
192
--let $wsrep_last_committed_after = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME = 'wsrep_last_committed'`
187
193
188
194
--connection node_2
189
- SELECT COUNT(*) = 20002 FROM t1;
195
+ --let $wait_condition = SELECT COUNT(*) = 20002 FROM t1;
196
+ --source include/wait_condition.inc
197
+ SELECT COUNT(*) FROM t1;
190
198
191
199
# LOAD-ing 20002 rows causes 1 commit to be registered
192
200
--disable_query_log
You can’t perform that action at this time.
0 commit comments