From 2624ec2552e0998a973f7770583df08b6ae601c7 Mon Sep 17 00:00:00 2001 From: Clement Laforet Date: Sun, 28 Nov 2004 21:43:52 +0000 Subject: - 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 [1], Roman Bogorodskiy [2] --- databases/py-MySQLdb/files/patch-_mysql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'databases/py-MySQLdb/files') 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 -- cgit v1.2.3