Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1ea5d01

Browse filesBrowse files
committed
my_bool is removed from MySQL 8
Fixed PyMySQL#218
1 parent b10ecd0 commit 1ea5d01
Copy full SHA for 1ea5d01

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎_mysql.c

Copy file name to clipboardExpand all lines: _mysql.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1879,7 +1879,7 @@ _mysql_ConnectionObject_ping(
18791879
if (!PyArg_ParseTuple(args, "|I", &reconnect)) return NULL;
18801880
check_connection(self);
18811881
if (reconnect != -1) {
1882-
my_bool recon = reconnect;
1882+
char recon = (char)reconnect;
18831883
mysql_options(&self->connection, MYSQL_OPT_RECONNECT, &recon);
18841884
}
18851885
Py_BEGIN_ALLOW_THREADS

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.