diff --git a/MySQLdb/MySQLdb/cursors.py b/MySQLdb/MySQLdb/cursors.py index d7dc458..edf486a 100644 --- a/MySQLdb/MySQLdb/cursors.py +++ b/MySQLdb/MySQLdb/cursors.py @@ -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