Skip to content

Commit 2f870f5

Browse files
temeoNirbhay Choubey
authored andcommitted
Restore original value of wsrep_on after waiting for sync point.
1 parent d01328d commit 2f870f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
let $wait_timeout = 10;
1+
--let $wait_timeout = 10
2+
--let $wsrep_on_orig = `SELECT @@wsrep_on`
23
SET SESSION wsrep_on = 0;
34
--let $wait_condition = SELECT 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_debug_sync_waiters' AND VARIABLE_VALUE = '$galera_sync_point'
45
--source include/wait_condition.inc
5-
SET SESSION wsrep_on = 1;
6+
--eval SET SESSION wsrep_on = $wsrep_on_orig

0 commit comments

Comments
 (0)