mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 11:10:58 +08:00
Make the insert_values regex case-insensitive. Fixes #3511137
This commit is contained in:
@ -16,7 +16,8 @@ restr = (r"\svalues\s*"
|
||||
r"(?:\([^\)]*\))"
|
||||
r")+\))")
|
||||
|
||||
insert_values= re.compile(restr)
|
||||
insert_values = re.compile(restr, re.I)
|
||||
|
||||
from _mysql_exceptions import Warning, Error, InterfaceError, DataError, \
|
||||
DatabaseError, OperationalError, IntegrityError, InternalError, \
|
||||
NotSupportedError, ProgrammingError
|
||||
|
Reference in New Issue
Block a user