summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Dustman <farcepest@gmail.com>2013-11-21 11:55:10 -0800
committerAndy Dustman <farcepest@gmail.com>2013-11-21 11:55:10 -0800
commit9b0b59f1bbe0029757b9b15d1c71586eaca1109c (patch)
tree3e87a669cc6f8adaf8f17f108dfc1bec257ff056
parent76037a2703a4ee156ef100ea476afc397fb80229 (diff)
parent052955e093e8db7b1a2fdfd7707de39980f849cd (diff)
downloadmysqldb1-9b0b59f1bbe0029757b9b15d1c71586eaca1109c.tar.gz
Merge pull request #34 from tyzhnenko/test-and-fix-issue-33
Fix cut off SQL query when its contained `))`
-rw-r--r--MySQLdb/cursors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MySQLdb/cursors.py b/MySQLdb/cursors.py
index 7c01870..348a586 100644
--- a/MySQLdb/cursors.py
+++ b/MySQLdb/cursors.py
@@ -26,7 +26,7 @@ restr = r"""
(?:
(?:\(
# ( - editor hightlighting helper
- [^)]*
+ .*
\))
|
'