diff options
author | clement <clement@FreeBSD.org> | 2004-08-02 07:32:28 +0000 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-08-02 07:32:28 +0000 |
commit | 33c2259fec2808a1733fbae0febb44f7e1e35d67 (patch) | |
tree | 83f3e9332da3f24e629900881cdd5b8a243cb9d2 /databases/py-MySQLdb | |
parent | 1dde73e06e989f7c9aecaa78aa477e23abb0a838 (diff) | |
download | FreeBSD-ports-33c2259fec2808a1733fbae0febb44f7e1e35d67.zip FreeBSD-ports-33c2259fec2808a1733fbae0febb44f7e1e35d67.tar.gz |
- Fix build with MySQL < 4.1.3
Submitted by: Claudiu Bosioc <claudiu at casi dot ro>
PR: 69871
Pointy hat to: clement
Diffstat (limited to 'databases/py-MySQLdb')
-rw-r--r-- | databases/py-MySQLdb/files/patch-_mysql.c | 2 |
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 c595576..f5f7121 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 |