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 fc0c03a

Browse filesBrowse files
committed
Misplaced conditional comma. Fixes issue PyMySQL#6.
1 parent 9f36ea2 commit fc0c03a
Copy full SHA for fc0c03a

File tree

Expand file treeCollapse file tree

1 file changed

+3
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-4
lines changed

‎_mysql.c

Copy file name to clipboardExpand all lines: _mysql.c
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -594,12 +594,11 @@ _mysql_ConnectionObject_Initialize(
594594
&init_command, &read_default_file,
595595
&read_default_group,
596596
&client_flag, &ssl,
597-
&local_infile, /* DO NOT PATCH FOR RECONNECT, IDIOTS
598-
IF YOU DO THIS, I WILL NOT SUPPORT YOUR PACKAGES. */
597+
&local_infile
599598
#ifdef HAVE_MYSQL_OPT_READ_TIMEOUT
600-
&read_timeout
599+
, &read_timeout
601600
#endif
602-
))
601+
))
603602
return -1;
604603

605604
#ifdef IS_PY3K

0 commit comments

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