diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-11-04 13:18:13 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-11-04 13:18:13 +0000 |
commit | 3f1e5e213d65375e89a23ecb4d50566c1f34b7b0 (patch) | |
tree | bb9a99f2627e52829a45fe2881fca4f6df7d1f89 /lib/sqlalchemy/databases/mysql.py | |
parent | 89a28cffa9d3a5cfe64120ab2c4833ef2512a4e7 (diff) | |
download | sqlalchemy-3f1e5e213d65375e89a23ecb4d50566c1f34b7b0.tar.gz |
- added 'EXPLAIN' to the list of 'returns rows', but this
issue will be addressed more fully by [ticket:1212].
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r-- | lib/sqlalchemy/databases/mysql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index daa24e469..b03ee5764 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -221,7 +221,7 @@ AUTOCOMMIT_RE = re.compile( r'\s*(?:UPDATE|INSERT|CREATE|DELETE|DROP|ALTER|LOAD +DATA|REPLACE)', re.I | re.UNICODE) SELECT_RE = re.compile( - r'\s*(?:SELECT|SHOW|DESCRIBE|XA RECOVER|CALL)', + r'\s*(?:SELECT|SHOW|DESCRIBE|XA RECOVER|CALL|EXPLAIN)', re.I | re.UNICODE) SET_RE = re.compile( r'\s*SET\s+(?:(?:GLOBAL|SESSION)\s+)?\w', |