diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-11-28 21:43:52 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-11-28 21:43:52 +0000 |
commit | 2624ec2552e0998a973f7770583df08b6ae601c7 (patch) | |
tree | 725d5726c48399b0f0f50de6677df4f60446c4c5 /databases/py-MySQLdb/files/patch-_mysql.c | |
parent | - Update to 0.11.5 (diff) |
- Use OPTIONS and add various knob [1]
- Fix build with mysql-client-5.0.x [2]
- Pass maintainership to submitter of [1]
PRs: ports/72656 [1],
ports/70082 [2]
Submitted by: Marcus Grando <marcus@corp.grupos.com.br> [1],
Roman Bogorodskiy <bogorodskiy@inbox.ru> [2]
Notes
Notes:
svn path=/head/; revision=122701
Diffstat (limited to 'databases/py-MySQLdb/files/patch-_mysql.c')
-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 f5f7121e0259..040a1b9db7ec 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 >= 40103 ++#if MYSQL_VERSION_ID >= 40103 && MYSQL_VERSION_ID < 50000 + r = mysql_shutdown(&(self->connection), + SHUTDOWN_DEFAULT); +#else |