]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
The Oracle dialect sets "transactional DDL" to False by default,
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 18 Nov 2014 16:55:49 +0000 (11:55 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 18 Nov 2014 16:55:49 +0000 (11:55 -0500)
as Oracle does not support transactional DDL.
fixes #245

alembic/ddl/oracle.py
docs/build/changelog.rst

index 93e71e59614a3b998bfb53b56c2005e5834406ad..cfe708ca59a6c2f01a56a386f4d23b154e37f6fd 100644 (file)
@@ -8,7 +8,7 @@ from .base import alter_table, AddColumn, ColumnName, \
 
 class OracleImpl(DefaultImpl):
     __dialect__ = 'oracle'
-    transactional_ddl = True
+    transactional_ddl = False
     batch_separator = "/"
     command_terminator = ""
 
index 312ca7ee48b56a601885360aea59c9375fdc71b8..c188605d15a1036d34c4aa99244f1e7aa3260192 100644 (file)
@@ -5,6 +5,13 @@ Changelog
 .. changelog::
     :version: 0.7.0
 
+    .. change::
+      :tags: bug, oracle
+      :tickets: 245
+
+      The Oracle dialect sets "transactional DDL" to False by default, 
+      as Oracle does not support transactional DDL.
+
     .. change::
       :tags: bug, autogenerate
       :tickets: 243