Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#13349 closed (fixed)

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

Reported by: Alex 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:

Description

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

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by Alex

comment:1 Changed 5 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 5 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(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 3 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

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