summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Tyzhnenko <t.dmitry@gmail.com>2013-10-07 12:34:14 +0300
committerDima Tyzhnenko <t.dmitry@gmail.com>2013-10-07 12:35:13 +0300
commit052955e093e8db7b1a2fdfd7707de39980f849cd (patch)
tree808b86564d516937d05a1247fff022a8250d5a90
parentc8b2744ea2b1e4419b7e3d93928e92c95f366815 (diff)
downloadmysqldb1-052955e093e8db7b1a2fdfd7707de39980f849cd.tar.gz
Fix cut off SQL query when its contained `))`, edit insert_values
regexp. Fixes issue #33.
-rw-r--r--MySQLdb/cursors.py2
1 files changed, 1 insertions, 1 deletions
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
- [^)]*
+ .*
\))
|
'