summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/mysql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-05-27 02:10:21 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-05-27 02:10:21 +0000
commit946e3b7114e225446477f65038cfbb44e7584818 (patch)
treec54c2694182739ce8660f67e78020ddb8eddd1f6 /lib/sqlalchemy/databases/mysql.py
parentcd95c479e91fea35894d764a7bc1d82e95236860 (diff)
downloadsqlalchemy-946e3b7114e225446477f65038cfbb44e7584818.tar.gz
- added "CALL" to Mysql select keywords
- NameError doesn't have "message" in py2.4
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r--lib/sqlalchemy/databases/mysql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py
index c4e6bf31f..426e97a81 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)',
+ r'\s*(?:SELECT|SHOW|DESCRIBE|XA RECOVER|CALL)',
re.I | re.UNICODE)
SET_RE = re.compile(
r'\s*SET\s+(?:(?:GLOBAL|SESSION)\s+)?\w',