]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
use the stack for insert_from_select
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 16 Sep 2021 17:38:11 +0000 (13:38 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 16 Sep 2021 17:40:47 +0000 (13:40 -0400)
commit8fca5b6e6a42b6221faaf26a912603393afd8607
treed06793fc78d9835b040bf2a9d14b35e3da46162a
parentc27bf6f7ecc1a120f0c8029eaa5969b6d2aa255d
use the stack for insert_from_select

Fixed issue related to new ``add_cte()`` feature where pairing two
"INSERT..FROM SELECT" statements simultaneously would lose track of the two
independent SELECT statements, leading to the wrong SQL.

Fixes: #7036
Change-Id: I90fe47eb203bc5c1ea5810db0edba08250b2b7e6
doc/build/changelog/unreleased_14/7036.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/crud.py
test/sql/test_cte.py