summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2004-08-19 23:50:14 +0000
committerCarsten Lohrke <carlo@gentoo.org>2004-08-19 23:50:14 +0000
commit59962cb0e1640dc6b8988f99227374c12d673775 (patch)
treebbc4c109d52055ddc3e7a2979129fdc876e99c71 /dev-db/mysqlcc/files/mysqlcc-0.9.4-shutdown.patch
parentppc profile update (diff)
downloadhistorical-59962cb0e1640dc6b8988f99227374c12d673775.tar.gz
historical-59962cb0e1640dc6b8988f99227374c12d673775.tar.bz2
historical-59962cb0e1640dc6b8988f99227374c12d673775.zip
stable on x86, will be package.masked shortly, #60745
Diffstat (limited to 'dev-db/mysqlcc/files/mysqlcc-0.9.4-shutdown.patch')
-rw-r--r--dev-db/mysqlcc/files/mysqlcc-0.9.4-shutdown.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-db/mysqlcc/files/mysqlcc-0.9.4-shutdown.patch b/dev-db/mysqlcc/files/mysqlcc-0.9.4-shutdown.patch
new file mode 100644
index 000000000000..f3fb35acefee
--- /dev/null
+++ b/dev-db/mysqlcc/files/mysqlcc-0.9.4-shutdown.patch
@@ -0,0 +1,14 @@
+--- 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 @@
+ if (!isConnected())
+ return false;
+
++#if ( MYSQL_VERSION_ID >= 40103 )
++ if (mysql_shutdown(mysql,SHUTDOWN_DEFAULT) != 0)
++#else
+ if (mysql_shutdown(mysql) != 0)
++#endif
+ {
+ if (emiterror)
+ emitError();