summaryrefslogtreecommitdiff
path: root/databases/py-MySQLdb
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-08-02 07:32:28 +0000
committerClement Laforet <clement@FreeBSD.org>2004-08-02 07:32:28 +0000
commit5cd226e3c2438df54c6be442556201e993e28554 (patch)
tree1557514870e7b010a8e80c9a0f458b6d3ca909da /databases/py-MySQLdb
parentupgrade to 0.3.5 (diff)
- Fix build with MySQL < 4.1.3
Submitted by: Claudiu Bosioc <claudiu at casi dot ro> PR: 69871 Pointy hat to: clement
Notes
Notes: svn path=/head/; revision=115236
Diffstat (limited to 'databases/py-MySQLdb')
-rw-r--r--databases/py-MySQLdb/files/patch-_mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/py-MySQLdb/files/patch-_mysql.c b/databases/py-MySQLdb/files/patch-_mysql.c
index c595576ce69d..f5f7121e0259 100644
--- a/databases/py-MySQLdb/files/patch-_mysql.c
+++ b/databases/py-MySQLdb/files/patch-_mysql.c
@@ -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