Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#10165 closed defect (fixed)

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

Reported by: stotty@… Owned by: bobbysmith007
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 2 years ago.
modified dbheleper for 0.13
dbhelper.diff (1.9 KB) - added by anonymous 2 years ago.
dbhelper patch for 0.12 permission branch
dbhelper2.diff (2.0 KB) - added by anonymous 2 years ago.
diff with fixed block

Download all attachments as: .zip

Change History (8)

Changed 2 years ago by anonymous

modified dbheleper for 0.13

comment:1 Changed 2 years ago by rjollos

Would you mind attaching a diff of the changes?

Changed 2 years ago by anonymous

dbhelper patch for 0.12 permission branch

Changed 2 years ago by anonymous

diff with fixed block

comment:2 Changed 2 years ago by bobbysmith007

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

comment:3 Changed 2 years ago by bobbysmith007

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

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

comment:4 Changed 2 years ago by bobbysmith007

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

comment:5 Changed 2 years ago by bobbysmith007

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

Add Comment

Modify Ticket

Action
as closed The owner will remain bobbysmith007.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.