From 645eea53c6676c958df7205564988c7fdf6c60ca Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 27 May 2008 20:20:14 +0000 Subject: [PATCH] - Added 'CALL' to the list of SQL keywords which return result rows. --- CHANGES | 9 ++++++--- lib/sqlalchemy/databases/mysql.py | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 6b7e0c61ac..3fa0e047ac 100644 --- a/CHANGES +++ b/CHANGES @@ -1,18 +1,21 @@ ======= CHANGES ======= - 0.4.7 ===== +- mysql + - Added 'CALL' to the list of SQL keywords which return + result rows. + - oracle - Oracle get_default_schema_name() "normalizes" the name before returning, meaning it returns a lower-case name when the identifier is detected as case insensitive. - - creating/dropping tables takes schema name into account + - Creating/dropping tables takes schema name into account when searching for the existing table, so that tables in other owner namespaces with the same name do not - conflict [ticket:709] + conflict. [ticket:709] 0.4.6 diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index a86035be50..d91d9f08f8 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', -- 2.47.3