Группа :: Разработка/C
Пакет: gearmand
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: gearmand-1.1.18-alt-mysql8-transition.patch
Скачать
Скачать
--- libgearman-server/plugins/queue/mysql/queue.cc.orig 2019-03-06 06:03:20.406340118 +0000
+++ libgearman-server/plugins/queue/mysql/queue.cc 2019-03-06 05:59:10.572752419 +0000
@@ -47,6 +47,9 @@
#include <libgearman-server/plugins/queue/base.h>
#include <mysql.h>
+#if !defined(my_bool) && MYSQL_VERSION_ID >= 80001 && MYSQL_VERSION_ID < 100100
+#define my_bool bool
+#endif
#include <errmsg.h>
#include <cerrno>