Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#15289 closed (fixed)

New transaction behavior only works if DEBUG=False

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

Description

CursorDebugWrapper defines it's own __getattr__ and as such eliminates the effect of http://code.djangoproject.com/browser/django/trunk/django/db/backends/util.py?rev=15493#L18 I also never get a dirty transaction if in autocommit mode, is this wanted behavior? Patch for the first one would be just removing __getattr__, not sure about the later one.

Change History (3)

comment:1 by Ramiro Morales, 14 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Russell Keith-Magee, 14 years ago

Resolution: fixed
Status: newclosed

In [15516]:

Fixed #15289 -- Removed a redundant getattr implementation from the debug SQL cursor wrapper. Thanks to Apollo13 for the report.

comment:3 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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