summaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2004-12-26 14:09:52 +0000
committerthierry <thierry@FreeBSD.org>2004-12-26 14:09:52 +0000
commitca7b0c7b613087a0136425d7258664dcf5e2bad9 (patch)
tree04043e76916374c5ddcb3b15e36ffcb40de827a1 /databases
parent0b921cf11d68dab6ff71819c5701e61a495024e1 (diff)
downloadFreeBSD-ports-ca7b0c7b613087a0136425d7258664dcf5e2bad9.zip
FreeBSD-ports-ca7b0c7b613087a0136425d7258664dcf5e2bad9.tar.gz
Fix compilation with version 4.1.7 of mysql.
PR: ports/75105 Submitted by: maintainer.
Diffstat (limited to 'databases')
-rw-r--r--databases/mysqlcc/files/patch-shared-src-CMySQL.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/databases/mysqlcc/files/patch-shared-src-CMySQL.cpp b/databases/mysqlcc/files/patch-shared-src-CMySQL.cpp
index 694f63b..8fd58c7 100644
--- a/databases/mysqlcc/files/patch-shared-src-CMySQL.cpp
+++ b/databases/mysqlcc/files/patch-shared-src-CMySQL.cpp
@@ -1,10 +1,12 @@
---- shared/src/CMySQL.cpp.orig Thu Aug 5 12:26:14 2004
-+++ shared/src/CMySQL.cpp Thu Aug 5 12:29:53 2004
-@@ -451,7 +451,11 @@
+--- shared/src/CMySQL.cpp.orig Sun Dec 14 00:10:44 2003
++++ shared/src/CMySQL.cpp Sun Dec 26 14:24:43 2004
+@@ -450,8 +450,12 @@
+
if (!isConnected())
return false;
-
-+#if ( MYSQL_VERSION_ID == 40103 ) || ( MYSQL_VERSION_ID == 50001 )
+-
++
++#if ( MYSQL_VERSION_ID == 40103 ) || ( MYSQL_VERSION_ID == 50001 ) || ( MYSQL_VERSION_ID == 40107 )
+ if (mysql_shutdown(mysql,SHUTDOWN_DEFAULT) != 0)
+#else
if (mysql_shutdown(mysql) != 0)
OpenPOWER on IntegriCloud