- Fix build with MySQL < 4.1.3

Submitted by:	Claudiu Bosioc <claudiu at casi dot ro>
PR:		69871
Pointy hat to:	clement
This commit is contained in:
Clement Laforet
2004-08-02 07:32:28 +00:00
parent e16ddcb1a6
commit 5cd226e3c2
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ diff -u -r1.49 _mysql.c
check_connection(self);
Py_BEGIN_ALLOW_THREADS
+
+#if MYSQL_VERSION_ID >= 040103
+#if MYSQL_VERSION_ID >= 40103
+ r = mysql_shutdown(&(self->connection),
+ SHUTDOWN_DEFAULT);
+#else

View File

@@ -10,7 +10,7 @@ diff -u -r1.49 _mysql.c
check_connection(self);
Py_BEGIN_ALLOW_THREADS
+
+#if MYSQL_VERSION_ID >= 040103
+#if MYSQL_VERSION_ID >= 40103
+ r = mysql_shutdown(&(self->connection),
+ SHUTDOWN_DEFAULT);
+#else