#36707: Prefetch related query throwing "Expression tree is too large" error
after
updating to Django 5.2 when using sqlite3 DB
-------------------------------------+-------------------------------------
Reporter: Alexandru Chirila | Owner: (none)
Type: Bug | Status: closed
Component: Database layer | Version: 5.2
(models, ORM) | Resolution:
Severity: Normal | worksforme
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Alexandru Chirila):
FWIW, I've tested the issue with the lastest development HEAD and the
6.0b1 release and it is fixed now. So this appears out-of-date, and
nothing to do here IMO, I don't think this is an issue that deserves to
have a fix backported to previous version.
I've also done the bisection and identified the following:
-
https://github.com/django/django/commit/9861e8654701bf8b95b2b533034e78058eee71b4
first commit where the issue start occuring
-
https://github.com/django/django/commit/4a3ad9eebbc16ce80b348644b557c84ecc741be7
where the issue no longer occurs
--
Ticket URL: <https://code.djangoproject.com/ticket/36707#comment:4>
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 view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019a531e0c0e-e3b8c3cd-c866-48da-a7c5-6e69916b78dc-000000%40eu-central-1.amazonses.com.