mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
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.
This commit is contained in:
@@ -1046,7 +1046,7 @@ bool init_slave_transaction_retry_errors(const char* arg)
|
||||
{
|
||||
if (!(p= str2int(p, 10, 0, LONG_MAX, &err_code)))
|
||||
break;
|
||||
if (err_code > 0 && err_code < ER_ERROR_LAST)
|
||||
if (err_code > 0)
|
||||
slave_transaction_retry_errors[i++]= (uint) err_code;
|
||||
while (!my_isdigit(system_charset_info,*p) && *p)
|
||||
p++;
|
||||
|
Reference in New Issue
Block a user