@@ -15,7 +15,9 @@ SET DEBUG_SYNC= "now WAIT_FOR after_sync_done";
15
15
16
16
show status like "rpl_semi_sync_master_yes_tx";
17
17
--let $assert_text= rpl_semi_sync_master_yes_tx increased 1
18
+ --disable_warnings
18
19
--let $assert_cond= VARIABLE_VALUE = $yes_tx+1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = "rpl_semi_sync_master_yes_tx"
20
+ --enable_warnings
19
21
--source include/assert.inc
20
22
21
23
--let $assert_text= Table is empty right now.
@@ -37,7 +39,9 @@ SET DEBUG_SYNC= "now SIGNAL end";
37
39
38
40
# Varify that after_commit hook is not executed.
39
41
--let $assert_text= rpl_semi_sync_master_yes_tx increased only 1
42
+ --disable_warnings
40
43
--let $assert_cond= VARIABLE_VALUE = $yes_tx+1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = "rpl_semi_sync_master_yes_tx"
44
+ --enable_warnings
41
45
--source include/assert.inc
42
46
43
47
TRUNCATE t1;
@@ -62,7 +66,9 @@ INSERT INTO t1 VALUES(2);
62
66
SET DEBUG_SYNC= "now WAIT_FOR after_sync_done";
63
67
64
68
--let $assert_text= rpl_semi_sync_master_yes_tx increased 1
69
+ --disable_warnings
65
70
--let $assert_cond= VARIABLE_VALUE = $yes_tx+1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = "rpl_semi_sync_master_yes_tx"
71
+ --enable_warnings
66
72
--source include/assert.inc
67
73
68
74
--let $assert_text= Table is empty right now.
@@ -84,7 +90,9 @@ SET DEBUG_SYNC= "now SIGNAL end";
84
90
85
91
# Varify that after_commit hook is not executed.
86
92
--let $assert_text= rpl_semi_sync_master_yes_tx increased only 1
93
+ --disable_warnings
87
94
--let $assert_cond= VARIABLE_VALUE = $yes_tx+1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = "rpl_semi_sync_master_yes_tx"
95
+ --enable_warnings
88
96
--source include/assert.inc
89
97
90
98
TRUNCATE t1;
@@ -110,11 +118,15 @@ SET DEBUG_SYNC= "now WAIT_FOR engine_commit_done";
110
118
--source include/assert.inc
111
119
112
120
--let $assert_text= rpl_semi_sync_master_yes_tx was not increased
121
+ --disable_warnings
113
122
--let $assert_cond= VARIABLE_VALUE = $yes_tx FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = "rpl_semi_sync_master_yes_tx"
123
+ --enable_warnings
114
124
--source include/assert.inc
115
125
116
126
--let $assert_text= rpl_semi_sync_master_no_tx was not increased
127
+ --disable_warnings
117
128
--let $assert_cond= VARIABLE_VALUE = $no_tx FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = "rpl_semi_sync_master_no_tx"
129
+ --enable_warnings
118
130
--source include/assert.inc
119
131
120
132
SET DEBUG_SYNC= "now SIGNAL end";
0 commit comments