[libgda] MySQL: Enable tests against MySQL 8



commit 76914a22c4113c31b75beedb6d825254fd63d7a5
Author: Daniel Espinosa <esodan gmail com>
Date:   Thu Oct 10 14:30:35 2019 -0500

    MySQL: Enable tests against MySQL 8

 .gitlab-ci.yml                       | 2 +-
 providers/mysql/gda-mysql-provider.c | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8c7937d6c..c07c0b2b5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@ image: ubuntu:devel
 
 services:
   - postgres:11
-  - mysql:5.7
+  - mysql:8
 
 stages:
   - build
diff --git a/providers/mysql/gda-mysql-provider.c b/providers/mysql/gda-mysql-provider.c
index 0990929ee..e6f1a6dd1 100644
--- a/providers/mysql/gda-mysql-provider.c
+++ b/providers/mysql/gda-mysql-provider.c
@@ -60,6 +60,10 @@
 #include "gda-mysql-handler-bin.h"
 #include <libgda/gda-debug-macros.h>
 
+#ifdef MYSQL8
+typedef bool my_bool;
+#endif
+
 #define _GDA_PSTMT(x) ((GdaPStmt*)(x))
 
 /*


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]