diff options
Diffstat (limited to 'src/common/Database/MySQLConnection.cpp')
| -rw-r--r-- | src/common/Database/MySQLConnection.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/Database/MySQLConnection.cpp b/src/common/Database/MySQLConnection.cpp index 15f1b2556e..cb61f091d1 100644 --- a/src/common/Database/MySQLConnection.cpp +++ b/src/common/Database/MySQLConnection.cpp @@ -516,8 +516,10 @@ bool MySQLConnection::_HandleMySQLErrno(uint32 errNo) { case CR_SERVER_GONE_ERROR: case CR_SERVER_LOST: - case CR_INVALID_CONN_HANDLE: case CR_SERVER_LOST_EXTENDED: +#if !defined MARIADB + case CR_INVALID_CONN_HANDLE: +#endif { m_reconnecting = true; uint64 oldThreadId = mysql_thread_id(GetHandle()); |
