We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b10ecd0 commit 1ea5d01Copy full SHA for 1ea5d01
_mysql.c
@@ -1879,7 +1879,7 @@ _mysql_ConnectionObject_ping(
1879
if (!PyArg_ParseTuple(args, "|I", &reconnect)) return NULL;
1880
check_connection(self);
1881
if (reconnect != -1) {
1882
- my_bool recon = reconnect;
+ char recon = (char)reconnect;
1883
mysql_options(&self->connection, MYSQL_OPT_RECONNECT, &recon);
1884
}
1885
Py_BEGIN_ALLOW_THREADS
0 commit comments