@@ -155,50 +155,6 @@ FLUSH RELAY LOGS;
155
155
--eval SELECT $wsrep_last_committed_after = $wsrep_last_committed_before + 1 AS wsrep_last_committed_diff;
156
156
--enable_query_log
157
157
158
- --connection node_1
159
- SET @userstat_old= @@userstat;
160
- SET GLOBAL userstat=ON;
161
-
162
- --connection node_2
163
- --let $wsrep_last_committed_before = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME = 'wsrep_last_committed'`
164
- --connection node_1
165
- FLUSH CLIENT_STATISTICS;
166
- FLUSH INDEX_STATISTICS;
167
- FLUSH TABLE_STATISTICS;
168
- FLUSH USER_STATISTICS;
169
- --connection node_2
170
- --let $wsrep_last_committed_after = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME = 'wsrep_last_committed'`
171
- --disable_query_log
172
- --eval SELECT $wsrep_last_committed_after = $wsrep_last_committed_before + 4 AS wsrep_last_committed_diff;
173
- --enable_query_log
174
-
175
-
176
- --connection node_1
177
- SET @old_thread_statistics= @@global.thread_statistics;
178
- SET GLOBAL thread_statistics= ON;
179
-
180
- --connection node_2
181
- --let $wsrep_last_committed_before = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME = 'wsrep_last_committed'`
182
- --connection node_1
183
- FLUSH THREAD_STATISTICS;
184
- --connection node_2
185
- --let $wsrep_last_committed_after = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME = 'wsrep_last_committed'`
186
- --disable_query_log
187
- --eval SELECT $wsrep_last_committed_after = $wsrep_last_committed_before + 1 AS wsrep_last_committed_diff;
188
- --enable_query_log
189
-
190
-
191
- --connection node_2
192
- --let $wsrep_last_committed_before = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME = 'wsrep_last_committed'`
193
- --connection node_1
194
- FLUSH CHANGED_PAGE_BITMAPS;
195
- --connection node_2
196
- --let $wsrep_last_committed_after = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME = 'wsrep_last_committed'`
197
- --disable_query_log
198
- --eval SELECT $wsrep_last_committed_after = $wsrep_last_committed_before + 1 AS wsrep_last_committed_diff;
199
- --enable_query_log
200
-
201
-
202
158
#
203
159
# The following statements should not be replicated: FLUSH LOGS, FLUSH TABLES WITH LOCKS
204
160
#
@@ -264,10 +220,6 @@ FLUSH TABLES t1;
264
220
--eval SELECT $wsrep_last_committed_after = $wsrep_last_committed_before + 1 AS wsrep_last_committed_diff;
265
221
--enable_query_log
266
222
267
-
268
-
269
223
--connection node_1
270
224
DROP TABLE t1;
271
225
DROP TABLE t2;
272
- SET GLOBAL userstat= @userstat_old;
273
- SET GLOBAL thread_statistics= @old_thread_statistics;
0 commit comments