blob: 1c6b3f95603cd0b15a827c7c41405c3abacbb713 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ad,v 1.1 2004/12/01 16:00:50 xtraeme Exp $
--- shared/src/CMySQL.cpp.orig 2004-12-01 16:35:54.000000000 +0100
+++ shared/src/CMySQL.cpp 2004-12-01 16:37:29.000000000 +0100
@@ -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();
|