mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-5703: [PATCH] Slave disconnects and fails to reconnect on Error_code: 1159
Patch from Tomas Matejicek Add missing error code to is_networ_error(), to allow slave to automatically attempt reconnection also in this case.
This commit is contained in:
parent
bd2a0a2389
commit
cfc2eb9dd2
1 changed files with 1 additions and 0 deletions
|
@ -1339,6 +1339,7 @@ bool is_network_error(uint errorno)
|
|||
errorno == ER_CON_COUNT_ERROR ||
|
||||
errorno == ER_CONNECTION_KILLED ||
|
||||
errorno == ER_NEW_ABORTING_CONNECTION ||
|
||||
errorno == ER_NET_READ_INTERRUPTED ||
|
||||
errorno == ER_SERVER_SHUTDOWN)
|
||||
return TRUE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue