Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#10165 closed defect (fixed)

dbhelper can't handle Pooled connections in 0.13/1.0dev

Reported by: stotty@… Owned by: Russ Tyndall
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

The db connection scpecific functions in dbhelper.py won't work if the connection in env is pooled.

I've attached a modified dbhelper that unwraps the connection if it encounters a pooled connection.

Attachments (3)

dbhelper.py (6.5 KB) - added by anonymous 12 years ago.
modified dbheleper for 0.13
dbhelper.diff (1.9 KB) - added by anonymous 12 years ago.
dbhelper patch for 0.12 permission branch
dbhelper2.diff (2.0 KB) - added by anonymous 12 years ago.
diff with fixed block

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by anonymous

Attachment: dbhelper.py added

modified dbheleper for 0.13

comment:1 Changed 12 years ago by Ryan J Ollos

Would you mind attaching a diff of the changes?

Changed 12 years ago by anonymous

Attachment: dbhelper.diff added

dbhelper patch for 0.12 permission branch

Changed 12 years ago by anonymous

Attachment: dbhelper2.diff added

diff with fixed block

comment:2 Changed 12 years ago by Russ Tyndall

Thanks for bringing this to my attention. I will get this (or something similar) committed soon.

comment:3 Changed 12 years ago by Russ Tyndall

Resolution: fixed
Status: newclosed

(In [11737]) updated db-helper backend checks to correctly handle pooled connections fix #10165

comment:4 Changed 12 years ago by Russ Tyndall

(In [11738]) updated db-helper backend checks to correctly handle pooled connections fix #10165

comment:5 Changed 12 years ago by Russ Tyndall

(In [11739]) bumped version to 1.2.8 re #10165

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Russ Tyndall.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.