From: Mike Bayer Date: Tue, 18 Nov 2014 16:55:49 +0000 (-0500) Subject: The Oracle dialect sets "transactional DDL" to False by default, X-Git-Tag: rel_0_7_0~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f5ebb1e53c3a65e98447ccf13750e9ea804a8d4;p=thirdparty%2Fsqlalchemy%2Falembic.git The Oracle dialect sets "transactional DDL" to False by default, as Oracle does not support transactional DDL. fixes #245 --- diff --git a/alembic/ddl/oracle.py b/alembic/ddl/oracle.py index 93e71e59..cfe708ca 100644 --- a/alembic/ddl/oracle.py +++ b/alembic/ddl/oracle.py @@ -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 = "" diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst index 312ca7ee..c188605d 100644 --- a/docs/build/changelog.rst +++ b/docs/build/changelog.rst @@ -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