diff src/connections.c @ 71:f06381a47ab0 MySQLdb

Back-port unsigned long kill unpack fix from 1.2br.
author kylev
date Tue, 08 Dec 2009 00:20:52 +0000
parents 18e5892a5aed
children 3b03cb566032
line wrap: on
line diff
--- a/src/connections.c	Fri Jul 24 00:35:20 2009 +0000
+++ b/src/connections.c	Tue Dec 08 00:20:52 2009 +0000
@@ -752,7 +752,7 @@
 {
 	unsigned long pid;
 	int r;
-	if (!PyArg_ParseTuple(args, "i:kill", &pid)) return NULL;
+	if (!PyArg_ParseTuple(args, "k:kill", &pid)) return NULL;
 	check_connection(self);
 	Py_BEGIN_ALLOW_THREADS
 	r = mysql_kill(&(self->connection), pid);