From 052955e093e8db7b1a2fdfd7707de39980f849cd Mon Sep 17 00:00:00 2001 From: Dima Tyzhnenko Date: Mon, 7 Oct 2013 12:34:14 +0300 Subject: Fix cut off SQL query when its contained `))`, edit insert_values regexp. Fixes issue #33. --- MySQLdb/cursors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MySQLdb/cursors.py b/MySQLdb/cursors.py index 7e5a887..ddab86a 100644 --- a/MySQLdb/cursors.py +++ b/MySQLdb/cursors.py @@ -26,7 +26,7 @@ restr = r""" (?: (?:\( # ( - editor hightlighting helper - [^)]* + .* \)) | ' -- cgit v1.2.1