Code

Opened 3 months ago

Closed 3 months ago

#21751 closed Cleanup/optimization (fixed)

Django doesn't do a good job of closing cursors

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

Description

When something in Django opens a cursor, it should make sure it is closed when no longer needed.

Attachments (0)

Change History (5)

comment:1 Changed 3 months ago by aaugustin

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

comment:2 Changed 3 months ago by manfre

https://github.com/django/django/pull/2154

Pull request is ready for initial review.

comment:3 Changed 3 months ago by manfre

  • Has patch set

comment:4 Changed 3 months ago by timo

I closed #14298 and #17956 as duplicates.

comment:5 Changed 3 months ago by Aymeric Augustin <aymeric.augustin@…>

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

In 54bfa4caab11d364eb208ba6639836fa22d69a04:

Merge pull request #2154 from manfre/close-cursors

Fixed #21751 -- Explicitly closed cursors.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.