From fe39065228bd887b4ac1cdf220b4d7f4742014d5 Mon Sep 17 00:00:00 2001 From: Leo Date: Mon, 9 Sep 2019 08:05:29 -0300 Subject: unmaintained/py-mysqldb: move from community - Python2 only - Work in upstream for 1.3.0 release that supports python3 - There is a 2.0 version that will be named 'moist' --- community/py-mysqldb/mariadb.patch | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 community/py-mysqldb/mariadb.patch (limited to 'community/py-mysqldb/mariadb.patch') diff --git a/community/py-mysqldb/mariadb.patch b/community/py-mysqldb/mariadb.patch deleted file mode 100644 index ed7d496f63..0000000000 --- a/community/py-mysqldb/mariadb.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/_mysql.c b/_mysql.c -index f081346..1c434d3 100644 ---- a/_mysql.c -+++ b/_mysql.c -@@ -40,8 +40,6 @@ PERFORMANCE OF THIS SOFTWARE. - #include "structmember.h" - #if defined(MS_WINDOWS) - #include --#else --#include "my_config.h" - #endif - #include "mysql.h" - #include "mysqld_error.h" -@@ -2002,7 +2000,7 @@ _mysql_ConnectionObject_ping( - int r, reconnect = -1; - if (!PyArg_ParseTuple(args, "|I", &reconnect)) return NULL; - check_connection(self); -- if ( reconnect != -1 ) self->connection.reconnect = reconnect; -+ if ( reconnect != -1 ) mysql_options(&self->connection, MYSQL_OPT_RECONNECT, &reconnect); - Py_BEGIN_ALLOW_THREADS - r = mysql_ping(&(self->connection)); - Py_END_ALLOW_THREADS -- cgit v1.2.3