#23758: Going beyond 5 levels of subqueries causes AssertionError in bump_prefix
-------------------------------------+-------------------------------------
Reporter: richardhowardsparx | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 1.7
(models, ORM) | Resolution:
Severity: Normal | Triage Stage:
Keywords: bump_prefix | Unreviewed
subquery alias | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by prathik):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
While debugging I saw that the list self.subq_aliases grows from U to Z in
bump_prefix and upon reaching Z the AssertionError is thrown, not sure if
it is done on purpose to prevent infinite loops from happening or a side-
effect of something else.
--
Ticket URL: <https://code.djangoproject.com/ticket/23758#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/076.cf3ab3e7ca1d96d756419935f78cd942%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.