diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-08-05 17:25:05 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-08-05 17:26:49 -0400 |
| commit | 7914b6491b31e07d2aa0313a97a0ded27627da07 (patch) | |
| tree | 541d8247578af79dc69910cfa7df550914ea86f6 /lib/sqlalchemy/sql/operators.py | |
| parent | bb954d40a12c81b1867474d7c6fd300a31382ec2 (diff) | |
| download | sqlalchemy-7914b6491b31e07d2aa0313a97a0ded27627da07.tar.gz | |
deep compare CTEs before considering them conflicting
Fixed issue where referencing a CTE multiple times in conjunction with a
polymorphic SELECT could result in multiple "clones" of the same CTE being
constructed, which would then trigger these two CTEs as duplicates. To
resolve, the two CTEs are deep-compared when this occurs to ensure that
they are equivalent, then are treated as equivalent.
Fixes: #8357
Change-Id: I1f634a9cf7a6c4256912aac1a00506aecea3b0e2
(cherry picked from commit 85fa363c846f4ed287565c43c32e2cca29470e25)
Diffstat (limited to 'lib/sqlalchemy/sql/operators.py')
0 files changed, 0 insertions, 0 deletions
