summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-03-14 13:10:31 -0700
committerMike Bayer <mike_mp@zzzcomputing.com>2012-03-14 13:10:31 -0700
commit0b97ba8a1410447797c0a1d049b2cfb6cc066ff3 (patch)
treecfa8f12acc667456225323d4be7998f9985b1d75
parenta774deb9a4b0db2870ace714d0b21ba097f4abac (diff)
downloadsqlalchemy-0b97ba8a1410447797c0a1d049b2cfb6cc066ff3.tar.gz
- [bug] Added 'LEVEL' to the list of reserved
words for Oracle. [ticket:2435]
-rw-r--r--CHANGES3
-rw-r--r--lib/sqlalchemy/dialects/oracle/base.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 17998bd11..9b35dc569 100644
--- a/CHANGES
+++ b/CHANGES
@@ -210,6 +210,9 @@ CHANGES
- [bug] Added missing compilation support for
LONG [ticket:2401]
+ - [bug] Added 'LEVEL' to the list of reserved
+ words for Oracle. [ticket:2435]
+
- examples
- [bug] Altered _params_from_query() function
in Beaker example to pull bindparams from the
diff --git a/lib/sqlalchemy/dialects/oracle/base.py b/lib/sqlalchemy/dialects/oracle/base.py
index 5d55847b4..dd761ae82 100644
--- a/lib/sqlalchemy/dialects/oracle/base.py
+++ b/lib/sqlalchemy/dialects/oracle/base.py
@@ -158,7 +158,7 @@ RESERVED_WORDS = \
'AS IN VIEW EXCLUSIVE COMPRESS SYNONYM SELECT INSERT EXISTS '\
'NOT TRIGGER ELSE CREATE INTERSECT PCTFREE DISTINCT USER '\
'CONNECT SET MODE OF UNIQUE VARCHAR2 VARCHAR LOCK OR CHAR '\
- 'DECIMAL UNION PUBLIC AND START UID COMMENT CURRENT'.split())
+ 'DECIMAL UNION PUBLIC AND START UID COMMENT CURRENT LEVEL'.split())
NO_ARG_FNS = set('UID CURRENT_DATE SYSDATE USER '
'CURRENT_TIME CURRENT_TIMESTAMP'.split())