From 48d9ec3527f2df6cdd3c6f62bb9ca67ace75223f Mon Sep 17 00:00:00 2001 From: adustman Date: Fri, 17 Oct 2008 00:15:26 +0000 Subject: [PATCH] Fix bug #2137599: Better regex for parsing INPUT statements. Passes unit tests but has not been thoroughly tested. Bump version to 1.2.3b1. --- MySQLdb/MySQLdb/cursors.py | 9 ++++++++- MySQLdb/metadata.cfg | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/MySQLdb/MySQLdb/cursors.py b/MySQLdb/MySQLdb/cursors.py index bc0cc48..920bc19 100644 --- a/MySQLdb/MySQLdb/cursors.py +++ b/MySQLdb/MySQLdb/cursors.py @@ -6,7 +6,14 @@ default, MySQLdb uses the Cursor class. """ import re -insert_values = re.compile(r"\svalues\s*(\(((?