mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #23605 -- Fixed nested subquery regression
Added relabeled_clone() method to sql.Query to fix the problem. It manifested itself in rare cases where at least double nested subquery's filter condition might target non-existing alias. Thanks to Trac alias ris for reporting the problem.
This commit is contained in:
committed by
Tim Graham
parent
21e21c7bc2
commit
5c481db295
@@ -71,3 +71,6 @@ Bugfixes
|
||||
|
||||
* Avoided unnecessary rollbacks of migrations from other apps when migrating
|
||||
backwards (:ticket:`23410`).
|
||||
|
||||
* Fixed a rare query error when using deeply nested subqueries
|
||||
(:ticket:`23605`).
|
||||
|
||||
Reference in New Issue
Block a user