mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 11:10:58 +08:00
@ -1715,7 +1715,7 @@ _mysql_ConnectionObject_kill(
|
||||
{
|
||||
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);
|
||||
|
Reference in New Issue
Block a user