diff options
author | Dima Tyzhnenko <t.dmitry@gmail.com> | 2013-10-07 12:34:14 +0300 |
---|---|---|
committer | Dima Tyzhnenko <t.dmitry@gmail.com> | 2013-10-07 12:35:13 +0300 |
commit | 052955e093e8db7b1a2fdfd7707de39980f849cd (patch) | |
tree | 808b86564d516937d05a1247fff022a8250d5a90 | |
parent | c8b2744ea2b1e4419b7e3d93928e92c95f366815 (diff) | |
download | mysqldb1-052955e093e8db7b1a2fdfd7707de39980f849cd.tar.gz |
Fix cut off SQL query when its contained `))`, edit insert_values
regexp. Fixes issue #33.
-rw-r--r-- | MySQLdb/cursors.py | 2 |
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 - [^)]* + .* \)) | ' |