From 5e58f7498181446838329db04eb6b683a33ac679 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Wed, 26 Feb 2020 20:42:24 +0100 Subject: [PATCH] Added support for mysql 8.0.x Signed-off-by: Janos SUTO --- src/defs.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/defs.h b/src/defs.h index 34d9ef03..d70031a9 100644 --- a/src/defs.h +++ b/src/defs.h @@ -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 { #ifdef NEED_MYSQL MYSQL_STMT *stmt;