]> 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:24:36 +0000 (17:24 -0400)
commit7189d0bc82598c2d6dcbb55b054837416db2ee7d
treeab9a7536f194670323b14983300ce339e64fe970
parent31a0da32a8af2503c6b94123a0e869816d83c707
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
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/sql/selectable.py
test/sql/test_generative.py