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 6fc719b

Browse filesBrowse files
author
adustman
committed
Make the insert_values regex case-insensitive. Fixes #3511137
1 parent 318dab9 commit 6fc719b
Copy full SHA for 6fc719b

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-1
lines changed

‎MySQLdb/MySQLdb/cursors.py

Copy file name to clipboardExpand all lines: MySQLdb/MySQLdb/cursors.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
r"(?:\([^\)]*\))"
1717
r")+\))")
1818

19-
insert_values= re.compile(restr)
19+
insert_values = re.compile(restr, re.I)
20+
2021
from _mysql_exceptions import Warning, Error, InterfaceError, DataError, \
2122
DatabaseError, OperationalError, IntegrityError, InternalError, \
2223
NotSupportedError, ProgrammingError

0 commit comments

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