summaryrefslogtreecommitdiff
path: root/net-analyzer/zabbix/files/zabbix-3.0.30-mysql8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/zabbix/files/zabbix-3.0.30-mysql8.patch')
-rw-r--r--net-analyzer/zabbix/files/zabbix-3.0.30-mysql8.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/net-analyzer/zabbix/files/zabbix-3.0.30-mysql8.patch b/net-analyzer/zabbix/files/zabbix-3.0.30-mysql8.patch
deleted file mode 100644
index 7c3694a776ee..000000000000
--- a/net-analyzer/zabbix/files/zabbix-3.0.30-mysql8.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/src/libs/zbxdb/db.c b/src/libs/zbxdb/db.c
-index a65b9c4..e011c51 100644
---- a/src/libs/zbxdb/db.c
-+++ b/src/libs/zbxdb/db.c
-@@ -285,7 +285,11 @@ int zbx_db_connect(char *host, char *user, char *password, char *dbname, char *d
- #if defined(HAVE_IBM_DB2)
- char *connect = NULL;
- #elif defined(HAVE_MYSQL)
-- my_bool mysql_reconnect = 1;
-+#if LIBMYSQL_VERSION_ID >= 80000 /* my_bool type is removed in MySQL 8.0 */
-+ bool mysql_reconnect = 1;
-+#else
-+ my_bool mysql_reconnect = 1;
-+#endif
- #elif defined(HAVE_ORACLE)
- char *connect = NULL;
- sword err = OCI_SUCCESS;