]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Bump "table compression" flag to Oracle 10.1
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 Dec 2016 14:15:55 +0000 (09:15 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 Dec 2016 14:15:55 +0000 (09:15 -0500)
- 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
doc/build/changelog/changelog_11.rst
lib/sqlalchemy/dialects/oracle/base.py

index 27417a67922b5f28947d15a6aab481c9a8da038e..2314a621d252abad4ba26db2649b0f2c2cc382fd 100644 (file)
 .. 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
index 87e10041078eae551bf425d4d7d40ed8279b87ef..e4e5d7ac1a7b8fdb6e5816eac26db0567191915a 100644 (file)
@@ -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):