[Gambas-bugtracker] Bug #1816: [patch] fix build failure fix with mysql8

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Mon Jun 22 13:53:48 CEST 2020


http://gambaswiki.org/bugtracker/edit?object=BUG.1816&from=L21haW4-

Gianfranco COSTAMAGNA reported a new bug.

Summary
-------

[patch] fix build failure fix with mysql8

Type             : Bug
Priority         : Medium
Gambas version   : Master
Product          : Networking components


Description
-----------

Hello, can you please consider this one-line fix?
in Ubuntu we removed that hacky workaround to keep the typedef in mysql8 code

cat debian/patches/mysql8_my_bool.patch 
Description: Reintroduce my_bool to fix build with MySQL 8
Author: Andreas Hasenack <andreas at canonical.com>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1863026
Forwarded: no
Last-Update: 2020-02-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
diff --git a/gb.db.mysql/src/main.c b/gb.db.mysql/src/main.c
index f2f86fc..4404d7e 100644
--- a/gb.db.mysql/src/main.c
+++ b/gb.db.mysql/src/main.c
@@ -30,6 +30,7 @@
 #include <time.h>
 
 #include <mysql.h>
+typedef bool my_bool;
 
 #include "gb.db.proto.h"
 #include "main.h"


System information
------------------

Ubuntu




More information about the Bugtracker mailing list