]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Adjustments to _copy_internals()
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 6 Sep 2019 16:45:53 +0000 (12:45 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 6 Sep 2019 17:17:24 +0000 (13:17 -0400)
commitfc48050e5d0c56fc5a6cd85679859e71961c59eb
tree78ade9f3586e12239023b2aa95510c653a004dd4
parent5c39ef565bb63e4412c3c3d0e87330373c8926ce
Adjustments to _copy_internals()

We are looking to build a generalization of copy_internals(),
so move out any special logic from these methods.   Re-implement
and clarify rationale for the Alias doesnt copy a TableClause rule as
part of the adaption
traversal, establish that we forgot to build out comparison and cache
key for CTE, remove incomplete _copy_internals() from GenerativeSelect
(it doesn't handle the order_by_clause or group_by_clause, so is incomplete)

Change-Id: I95039f042503171aade4ba0fabc9b1598e3c49cf
lib/sqlalchemy/sql/clause_compare.py
lib/sqlalchemy/sql/selectable.py
lib/sqlalchemy/sql/util.py
test/sql/test_generative.py