]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add identifier_preparer per-execution context for schema translates
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 8 Feb 2021 16:58:15 +0000 (11:58 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 8 Feb 2021 18:14:52 +0000 (13:14 -0500)
commitc0521e6f0688b794048e44ff3df429249a093b72
treed509123bb03c6e938952c4eb6444fd00d5edbc67
parent80010c63149be411e89c7434a9d52096f9de56b8
Add identifier_preparer per-execution context for schema translates

Fixed bug where the "schema_translate_map" feature failed to be taken into
account for the use case of direct execution of
:class:`_schema.DefaultGenerator` objects such as sequences, which included
the case where they were "pre-executed" in order to generate primary key
values when implicit_returning was disabled.

Fixes: #5929
Change-Id: I3fed1d0af28be5ce9c9bb572524dcc8411633f60
doc/build/changelog/unreleased_13/5929.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/firebird/base.py
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/dialects/oracle/base.py
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/testing/provision.py
lib/sqlalchemy/testing/suite/test_sequence.py