summaryrefslogtreecommitdiff
blob: f3fb35acefeeedc30fe1a4aaa1388280cd8034fa (plain)
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 )
+  if (mysql_shutdown(mysql,SHUTDOWN_DEFAULT) != 0)
+#else
   if (mysql_shutdown(mysql) != 0)
+#endif
   {
     if (emiterror)
       emitError();