]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Ensure CTE internals are handled during clone
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 10 Jun 2016 21:24:36 +0000 (17:24 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 10 Jun 2016 21:27:06 +0000 (17:27 -0400)
commit33e2a0230e63e92dce1b32b7d6a379ef63aec0ba
tree4e695a372517fc86b0aa71e87d44931b28716c36
parent0e1be2b208cf735db0a758b614ec4d41b71a0da2
Ensure CTE internals are handled during clone

The CTE construct was missing a _copy_internals() method
which would handle CTE-specific structures including _cte_alias,
_restates during a clone operation.

Change-Id: I9aeac9cd24d8f7ae6b70e52650d61f7c96cb6d7e
Fixes: #3722
(cherry picked from commit 7189d0bc82598c2d6dcbb55b054837416db2ee7d)
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/sql/selectable.py
test/sql/test_generative.py