-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-17402 slave_transaction_retry_errors="12701" won't be enabled (#…
…1346) error code 12701 is already included in default value, but other plugin specific error codes are ignored because of checking with ER_ERROR_LAST. ER_ERROR_LAST does not include plugin specific error codes. So I just removed it for fixing this issue.
- Loading branch information
Showing
6 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
.../spider/mysql-test/spider/bugfix/include/slave_transaction_retry_errors_5digit_deinit.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--connection slave1_1 | ||
--disable_warnings | ||
--disable_query_log | ||
--disable_result_log | ||
--source ../include/deinit_spider.inc | ||
--source ../t/slave_test_deinit.inc | ||
--source ../t/test_deinit.inc | ||
--enable_result_log | ||
--enable_query_log | ||
--enable_warnings |
10 changes: 10 additions & 0 deletions
10
...ge/spider/mysql-test/spider/bugfix/include/slave_transaction_retry_errors_5digit_init.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--disable_warnings | ||
--disable_query_log | ||
--disable_result_log | ||
--source ../t/test_init.inc | ||
--source ../t/slave_test_init.inc | ||
--connection slave1_1 | ||
--source ../include/init_spider.inc | ||
--enable_result_log | ||
--enable_query_log | ||
--enable_warnings |
22 changes: 22 additions & 0 deletions
22
storage/spider/mysql-test/spider/bugfix/r/slave_transaction_retry_errors_5digit.result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
for master_1 | ||
for child2 | ||
child2_1 | ||
child2_2 | ||
child2_3 | ||
for child3 | ||
for slave1_1 | ||
|
||
connection slave1_1; | ||
SHOW VARIABLES LIKE 'slave_transaction_retry_errors'; | ||
Variable_name Value | ||
slave_transaction_retry_errors 1158,1159,1160,1161,1205,1213,1429,2013,12701,10000,20000,30000 | ||
connection slave1_1; | ||
for slave1_1 | ||
for master_1 | ||
for child2 | ||
child2_1 | ||
child2_2 | ||
child2_3 | ||
for child3 | ||
|
||
end of test |
6 changes: 6 additions & 0 deletions
6
storage/spider/mysql-test/spider/bugfix/t/slave_transaction_retry_errors_5digit.cnf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
!include include/default_mysqld.cnf | ||
!include ../my_1_1.cnf | ||
!include ../my_2_1.cnf | ||
!include ../my_4_1.cnf | ||
[mysqld.4.1] | ||
slave_transaction_retry_errors="10000,20000,30000" |
9 changes: 9 additions & 0 deletions
9
storage/spider/mysql-test/spider/bugfix/t/slave_transaction_retry_errors_5digit.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--source ../include/slave_transaction_retry_errors_5digit_init.inc | ||
--echo | ||
|
||
--connection slave1_1 | ||
SHOW VARIABLES LIKE 'slave_transaction_retry_errors'; | ||
|
||
--source ../include/slave_transaction_retry_errors_5digit_deinit.inc | ||
--echo | ||
--echo end of test |