#35559: Calling list() on an empty sliced union still causes a database query
-------------------------------------+-------------------------------------
Reporter: Lucidiot | Owner: Simon
Type: | Charette
Cleanup/optimization | Status: assigned
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):
* owner: nobody => Simon Charette
* stage: Unreviewed => Accepted
* status: new => assigned
* type: Bug => Cleanup/optimization
Comment:
I confirm that c2cc80756b8949cdd87b88bbfdfee698ced441e0 focused on the
correctness aspect of the problem (avoiding the crash) without focusing on
some edge cases that might still allow the query eliding to take place.
--
Ticket URL: <https://code.djangoproject.com/ticket/35559#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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701904f618791-0096303a-c0ff-47ca-9fe2-590de346ba0f-000000%40eu-central-1.amazonses.com.