1 |
Fix for bug #538234 |
2 |
|
3 |
|
4 |
diff -Naur MySQL-python-1.2.3c1.orig/_mysql.c MySQL-python-1.2.3c1/_mysql.c |
5 |
--- MySQL-python-1.2.3c1.orig/_mysql.c 2009-03-30 18:59:28.000000000 -0400 |
6 |
+++ MySQL-python-1.2.3c1/_mysql.c 2009-11-23 12:58:41.000000000 -0500 |
7 |
@@ -1714,7 +1714,7 @@ |
8 |
{ |
9 |
unsigned long pid; |
10 |
int r; |
11 |
- if (!PyArg_ParseTuple(args, "i:kill", &pid)) return NULL; |
12 |
+ if (!PyArg_ParseTuple(args, "l:kill", &pid)) return NULL; |
13 |
check_connection(self); |
14 |
Py_BEGIN_ALLOW_THREADS |
15 |
r = mysql_kill(&(self->connection), pid); |