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