summaryrefslogtreecommitdiff
path: root/databases/mysqlcc/files/patch-shared-src-CMySQL.cpp
blob: 8fd58c7fe6796316abac646e20bf6a043a5228f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- 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 ) || ( MYSQL_VERSION_ID == 40107 )
+  if (mysql_shutdown(mysql,SHUTDOWN_DEFAULT) != 0)
+#else
   if (mysql_shutdown(mysql) != 0)
+#endif
   {
     if (emiterror)
       emitError();