summaryrefslogtreecommitdiff
path: root/src/common/Database/MySQLConnection.cpp
diff options
context:
space:
mode:
authorKargatum <dowlandtop@yandex.com>2019-04-17 23:42:31 +0700
committerGitHub <noreply@github.com>2019-04-17 23:42:31 +0700
commit6150b4b9480b054ca3df6fc4939d119b882ff9f1 (patch)
tree21ab7ddea2dd6d2f5c681f5d8302a72e8bce39d5 /src/common/Database/MySQLConnection.cpp
parent9ba2e55448a52c8f45e72d44f5ec23f66eacd31b (diff)
feat(Cmake/MYSQL): Correct support MariaDB for windows (#1674)
* Delete CMake option MARIADB * Delete definitions (-DMARIADB) * Replace macro MariaDB support 10.2+
Diffstat (limited to 'src/common/Database/MySQLConnection.cpp')
-rw-r--r--src/common/Database/MySQLConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Database/MySQLConnection.cpp b/src/common/Database/MySQLConnection.cpp
index cb61f091d1..ea05f21e37 100644
--- a/src/common/Database/MySQLConnection.cpp
+++ b/src/common/Database/MySQLConnection.cpp
@@ -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
{