mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
add support for MySQL 8
This commit is contained in:
@@ -20,6 +20,11 @@
|
||||
#endif
|
||||
|
||||
|
||||
#if LIBMYSQL_VERSION_ID >= 80000
|
||||
typedef bool my_bool; // Workaround to make library work with MySQL client 8.0 as well as earlier versions
|
||||
#endif
|
||||
|
||||
|
||||
#define POCO_MYSQL_VERSION_NUMBER ((NDB_VERSION_MAJOR<<16) | (NDB_VERSION_MINOR<<8) | (NDB_VERSION_BUILD&0xFF))
|
||||
|
||||
|
||||
@@ -187,4 +192,4 @@ void SessionHandle::reset()
|
||||
}
|
||||
|
||||
|
||||
}}} // Poco::Data::MySQL
|
||||
} } } // namespace Poco::Data::MySQL
|
||||
|
||||
Reference in New Issue
Block a user