summaryrefslogtreecommitdiff
path: root/databases/py-MySQLdb/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-02-08 22:14:31 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-02-08 22:14:31 +0000
commit6c81fcd2506746fec85b07d776ed86eb77e762ab (patch)
tree2264086a80dd41ea0f276eb5e5b7f26b3c6dae2e /databases/py-MySQLdb/files
parent- Update to 4.5 (diff)
- Update to 1.2.0
PR: ports/77245 Submitted by: Marcus Grando <marcus@corp.grupos.com.br> (maintainer)
Diffstat (limited to 'databases/py-MySQLdb/files')
-rw-r--r--databases/py-MySQLdb/files/patch-_mysql.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/databases/py-MySQLdb/files/patch-_mysql.c b/databases/py-MySQLdb/files/patch-_mysql.c
deleted file mode 100644
index f5ad3b5a938a..000000000000
--- a/databases/py-MySQLdb/files/patch-_mysql.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- _mysql.c.orig Sat Jan 1 15:40:13 2005
-+++ _mysql.c Wed Jan 5 18:35:18 2005
-@@ -1542,7 +1542,11 @@
- 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);