Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37849179
en ru br
ALT Linux repos
S:1.2.23-alt1
5.0: 0.8.7a-alt2
4.1: 0.8.7a-alt2

Group :: Monitoring
RPM: cacti-spine

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: cacti-spine-1.2.0-alt-mysql8-transition.patch
Download


--- sql.c.orig	2019-01-13 16:47:03.571886931 +0300
+++ sql.c	2019-01-13 16:46:25.587117868 +0300
@@ -34,6 +34,10 @@
 #include "common.h"
 #include "spine.h"
 
+#if !defined(my_bool) && MYSQL_VERSION_ID >= 80001 && MYSQL_VERSION_ID < 100100
+#define my_bool bool
+#endif
+
 /*! \fn int db_insert(MYSQL *mysql, int type, const char *query)
  *  \brief inserts a row or rows in a database table.
  *  \param mysql the database connection object
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin