]> 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 16:57:41 +0000 (12:57 -0400)
commit8db7e957298b920964a47995ec6f5c1406b8fb53
tree55ab186c2dd589d9c0fc19fe79e2582f98ee9d3b
parent4f19f1823cfb1bb41af4c5ef7bf84b001778a8ab
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
(cherry picked from commit ed50a003e296ac6bfb998f2b401091d87874cb4c)
doc/build/changelog/unreleased_13/5500.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
test/sql/test_compiler.py