#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: Accepted
Keywords: bump_prefix | Needs documentation: 0
subquery alias | Patch needs improvement: 0
Has patch: 0 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by akaariai):
* stage: Unreviewed => Accepted
Comment:
The breakage is non-intentional. Before Django used conflicting aliases
for nested subqueries that could result to problems in some cases.
We could just extend the alphabet, start from Z and then continue from AA
after that. Some limit for recursion depth might make sense, but 5 is
definitely too low.
--
Ticket URL: <https://code.djangoproject.com/ticket/23758#comment:3>
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.bdaa8e2f9bf0fa2efbcc1eddb749b328%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.