summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2016-12-20 09:15:55 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2016-12-20 09:15:55 -0500
commit910347aef28f662a1f183936624f6f193d87ee6d (patch)
tree06813dfb553315755a7be94e74b47af7c335d156
parent675f021368a375c330c07d0826e30049f2f0e016 (diff)
downloadsqlalchemy-910347aef28f662a1f183936624f6f193d87ee6d.tar.gz
Bump "table compression" flag to Oracle 10.1
- Fixed bug where the "COMPRESSION" keyword was used in the ALL_TABLES query on Oracle 9.2; even though Oracle docs state table compression was introduced in 9i, the actual column is not present until 10.1. Change-Id: Iebfa59bfcfdff859169df349a5426137ab006e67 Fixes: #3875
-rw-r--r--doc/build/changelog/changelog_11.rst9
-rw-r--r--lib/sqlalchemy/dialects/oracle/base.py2
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/build/changelog/changelog_11.rst b/doc/build/changelog/changelog_11.rst
index 27417a679..2314a621d 100644
--- a/doc/build/changelog/changelog_11.rst
+++ b/doc/build/changelog/changelog_11.rst
@@ -21,6 +21,15 @@
.. changelog::
:version: 1.1.5
+ .. change:: 3875
+ :tags: bug, oracle
+ :tickets: 3875
+
+ Fixed bug where the "COMPRESSION" keyword was used in the ALL_TABLES
+ query on Oracle 9.2; even though Oracle docs state table compression
+ was introduced in 9i, the actual column is not present until
+ 10.1.
+
.. change:: 3874
:tags: bug, orm
:tickets: 3874
diff --git a/lib/sqlalchemy/dialects/oracle/base.py b/lib/sqlalchemy/dialects/oracle/base.py
index 87e100410..e4e5d7ac1 100644
--- a/lib/sqlalchemy/dialects/oracle/base.py
+++ b/lib/sqlalchemy/dialects/oracle/base.py
@@ -1026,7 +1026,7 @@ class OracleDialect(default.DefaultDialect):
@property
def _supports_table_compression(self):
return self.server_version_info and \
- self.server_version_info >= (9, 2, )
+ self.server_version_info >= (10, 1, )
@property
def _supports_table_compress_for(self):