From 5cd226e3c2438df54c6be442556201e993e28554 Mon Sep 17 00:00:00 2001 From: Clement Laforet Date: Mon, 2 Aug 2004 07:32:28 +0000 Subject: - Fix build with MySQL < 4.1.3 Submitted by: Claudiu Bosioc PR: 69871 Pointy hat to: clement --- databases/py-MySQLdb-devel/files/patch-_mysql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'databases/py-MySQLdb-devel/files') diff --git a/databases/py-MySQLdb-devel/files/patch-_mysql.c b/databases/py-MySQLdb-devel/files/patch-_mysql.c index c595576ce69d..f5f7121e0259 100644 --- a/databases/py-MySQLdb-devel/files/patch-_mysql.c +++ b/databases/py-MySQLdb-devel/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 -- cgit v1.2.3