From: Mike Bayer Date: Tue, 27 May 2008 20:20:14 +0000 (+0000) Subject: - Added 'CALL' to the list of SQL keywords which return X-Git-Tag: rel_0_4_7~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=645eea53c6676c958df7205564988c7fdf6c60ca;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - Added 'CALL' to the list of SQL keywords which return result rows. --- 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',