Mercurial > p > mysql-python > mysqldb-2
changeset 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 | 29b4cfd9af07 |
children | c0c00294239b |
files | src/connections.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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);