Added support for mysql 8.0.x

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2020-02-26 20:42:24 +01:00
parent cf103f8956
commit 5e58f74981

View File

@ -356,6 +356,11 @@ struct data {
}; };
#if !defined(MARIADB_BASE_VERSION) && !defined(MARIADB_VERSION_ID) && \
MYSQL_VERSION_ID >= 80001 && MYSQL_VERSION_ID != 80002
typedef bool my_bool;
#endif
struct sql { struct sql {
#ifdef NEED_MYSQL #ifdef NEED_MYSQL
MYSQL_STMT *stmt; MYSQL_STMT *stmt;