diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-06-10 17:24:36 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-06-10 17:24:36 -0400 |
| commit | 7189d0bc82598c2d6dcbb55b054837416db2ee7d (patch) | |
| tree | ab9a7536f194670323b14983300ce339e64fe970 /doc | |
| parent | 31a0da32a8af2503c6b94123a0e869816d83c707 (diff) | |
| download | sqlalchemy-7189d0bc82598c2d6dcbb55b054837416db2ee7d.tar.gz | |
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
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/changelog_10.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_10.rst b/doc/build/changelog/changelog_10.rst index b59ab392e..87ca1cb31 100644 --- a/doc/build/changelog/changelog_10.rst +++ b/doc/build/changelog/changelog_10.rst @@ -20,6 +20,15 @@ .. change:: :tags: bug, sql + :tickets: 3722 + + Fixed bug in :class:`.CTE` structure which would cause it to not + clone properly when a union was used, as is common in a recursive + CTE. The improper cloning would cause errors when the CTE is used + in various ORM contexts such as that of a :func:`.column_property`. + + .. change:: + :tags: bug, sql :tickets: 3721 Fixed bug whereby :meth:`.Table.tometadata` would make a duplicate |
