Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#13349 closed (fixed)

Raw Queries with backends that don't support chunked reads aren't done correctly

Reported by: Alex Gaynor Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


If a backend doesn't support chunked reads the cursor should be exhausted immediately. This leads to bugs in PyPy, and probably other non-cpython systems.

Attachments (1)

django-raw-cursor.diff (821 bytes) - added by Alex Gaynor 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Alex Gaynor

Attachment: django-raw-cursor.diff added

comment:1 Changed 7 years ago by Alex Gaynor

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 7 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

(In [12978]) Fixed #13349 -- Ensure that raw queries evaluate the entire query if the backend doesn't support chunked reads. Thanks to Alex Gaynor for the report and patch.

comment:3 Changed 5 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top