diff options
author | Kargatum <dowlandtop@yandex.com> | 2019-04-17 23:42:31 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-17 23:42:31 +0700 |
commit | 6150b4b9480b054ca3df6fc4939d119b882ff9f1 (patch) | |
tree | 21ab7ddea2dd6d2f5c681f5d8302a72e8bce39d5 /src/common/Database/MySQLConnection.cpp | |
parent | 9ba2e55448a52c8f45e72d44f5ec23f66eacd31b (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.cpp | 2 |
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 { |