feat(Core/Misc): compatibility with 10.2+ versions of MariaDB library (#1284) (#1437)

This commit is contained in:
Francesco Borzì
2019-02-09 21:51:05 +01:00
committed by Barbz
parent 0c71d0e56e
commit 01c6d32ac9
3 changed files with 11 additions and 1 deletions

View File

@@ -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());