diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-11-28 21:55:24 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-11-28 21:55:24 +0000 |
commit | 0a3ac7f24d6b5aab548067752272fdc6864a4d23 (patch) | |
tree | fa66009df9610509b3c57009a8f7b8319d0c3491 /databases/py-MySQLdb-devel/files/patch-_mysql.c | |
parent | As previously announced, remove ports/picobsd/ssh-picobsd due to long- (diff) |
Add databases/py-MySQLdb-devel 1.1.7, devel version of py-MySQLdb
PR: ports/73562
Submitted by: Marcus Grando <marcus@corp.grupos.com.br>
Repo-copied by: marcus
Notes
Notes:
svn path=/head/; revision=122704
Diffstat (limited to 'databases/py-MySQLdb-devel/files/patch-_mysql.c')
-rw-r--r-- | databases/py-MySQLdb-devel/files/patch-_mysql.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/databases/py-MySQLdb-devel/files/patch-_mysql.c b/databases/py-MySQLdb-devel/files/patch-_mysql.c deleted file mode 100644 index f5f7121e0259..000000000000 --- a/databases/py-MySQLdb-devel/files/patch-_mysql.c +++ /dev/null @@ -1,21 +0,0 @@ -Index: MySQLdb/_mysql.c -=================================================================== -RCS file: /cvsroot/mysql-python/MySQLdb/_mysql.c,v -retrieving revision 1.49 -diff -u -r1.49 _mysql.c ---- _mysql.c 7 Jun 2004 03:44:38 -0000 1.49 -+++ _mysql.c 26 Jul 2004 16:58:29 -0000 -@@ -1542,7 +1542,13 @@ - if (!PyArg_ParseTuple(args, "")) return NULL; - check_connection(self); - Py_BEGIN_ALLOW_THREADS -+ -+#if MYSQL_VERSION_ID >= 40103 -+ r = mysql_shutdown(&(self->connection), -+ SHUTDOWN_DEFAULT); -+#else - r = mysql_shutdown(&(self->connection)); -+#endif - Py_END_ALLOW_THREADS - if (r) return _mysql_Exception(self); - Py_INCREF(Py_None); |