Skip to content

Commit 223c550

Browse files
authored
MDEV-17402 slave_transaction_retry_errors="12701" won't be enabled (#1349)
fix test result of sys_vars.slave_transaction_retry_errors
1 parent 7620087 commit 223c550

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mysql-test/suite/sys_vars/r/slave_transaction_retry_errors.result

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
select @@global.slave_transaction_retry_errors;
22
@@global.slave_transaction_retry_errors
3-
1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,400
3+
1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,5000,400
44
select @@session.slave_transaction_retry_errors;
55
ERROR HY000: Variable 'slave_transaction_retry_errors' is a GLOBAL variable
66
show global variables like 'slave_transaction_retry_errors';
77
Variable_name Value
8-
slave_transaction_retry_errors 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,400
8+
slave_transaction_retry_errors 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,5000,400
99
show session variables like 'slave_transaction_retry_errors';
1010
Variable_name Value
11-
slave_transaction_retry_errors 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,400
11+
slave_transaction_retry_errors 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,5000,400
1212
select * from information_schema.global_variables where variable_name='slave_transaction_retry_errors';
1313
VARIABLE_NAME VARIABLE_VALUE
14-
SLAVE_TRANSACTION_RETRY_ERRORS 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,400
14+
SLAVE_TRANSACTION_RETRY_ERRORS 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,5000,400
1515
select * from information_schema.session_variables where variable_name='slave_transaction_retry_errors';
1616
VARIABLE_NAME VARIABLE_VALUE
17-
SLAVE_TRANSACTION_RETRY_ERRORS 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,400
17+
SLAVE_TRANSACTION_RETRY_ERRORS 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,5000,400
1818
set global slave_transaction_retry_errors=1;
1919
ERROR HY000: Variable 'slave_transaction_retry_errors' is a read only variable
2020
set session slave_transaction_retry_errors=1;

0 commit comments

Comments
 (0)