feat(Cmake/MYSQL): Correct support MariaDB for windows (#1674)

* Delete CMake option MARIADB
* Delete definitions (-DMARIADB)
* Replace macro MariaDB support 10.2+
This commit is contained in:
Kargatum
2019-04-17 23:42:31 +07:00
committed by GitHub
parent 9ba2e55448
commit 6150b4b948
4 changed files with 72 additions and 9 deletions

View File

@@ -517,7 +517,7 @@ bool MySQLConnection::_HandleMySQLErrno(uint32 errNo)
case CR_SERVER_GONE_ERROR:
case CR_SERVER_LOST:
case CR_SERVER_LOST_EXTENDED:
#if !defined MARIADB
#if !(MARIADB_VERSION_ID >= 100200)
case CR_INVALID_CONN_HANDLE:
#endif
{