]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Pass schema_translate_map from DDLCompiler to SQLCompiler
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 7 Aug 2020 15:24:29 +0000 (11:24 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 7 Aug 2020 15:24:29 +0000 (11:24 -0400)
commited50a003e296ac6bfb998f2b401091d87874cb4c
tree5f675cd3096ff7dcc29e69c2f961092b4ee9f273
parentf1626c784efc800a912a815085b9bac609c0d1cb
Pass schema_translate_map from DDLCompiler to SQLCompiler

Fixed issue where the
:paramref:`_engine.Connection.execution_options.schema_translate_map`
feature would not take effect when the :meth:`_schema.Sequence.next_value`
function function for a :class:`_schema.Sequence` were used in the
:paramref:`_schema.Column.server_default` parameter and the create table
DDL were emitted.

Fixes: #5500
Change-Id: I74a9fa13d22749d06c8202669f9ea220d9d984d9
doc/build/changelog/unreleased_13/5500.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
test/sql/test_compiler.py