Ticket #10165 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

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

Reported by: stotty@stoty.hu Assigned to: 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

dbhelper.py (6.5 kB) - added by anonymous on 07/19/12 11:17:09.
modified dbheleper for 0.13
dbhelper.diff (1.9 kB) - added by anonymous on 07/19/12 14:57:21.
dbhelper patch for 0.12 permission branch
dbhelper2.diff (2.0 kB) - added by anonymous on 07/19/12 15:00:36.
diff with fixed block

Change History

07/19/12 11:17:09 changed by anonymous

  • attachment dbhelper.py added.

modified dbheleper for 0.13

07/19/12 14:52:56 changed by rjollos

Would you mind attaching a diff of the changes?

07/19/12 14:57:21 changed by anonymous

  • attachment dbhelper.diff added.

dbhelper patch for 0.12 permission branch

07/19/12 15:00:36 changed by anonymous

  • attachment dbhelper2.diff added.

diff with fixed block

07/19/12 15:58:36 changed by bobbysmith007

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

07/19/12 17:25:42 changed by bobbysmith007

  • status changed from new to closed.
  • resolution set to fixed.

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

07/19/12 17:25:52 changed by bobbysmith007

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

07/19/12 17:27:32 changed by bobbysmith007

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


Add/Change #10165 (dbhelper can't handle Pooled connections in 0.13/1.0dev)




Change Properties
Action