Opened 9 years ago

Closed 9 years ago

Last modified 7 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: no UI/UX: no


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 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by Alex Gaynor

Attachment: django-raw-cursor.diff added

comment:1 Changed 9 years ago by Alex Gaynor

Triage Stage: UnreviewedAccepted

comment:2 Changed 9 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 7 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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