Project

General

Profile

Actions

Patch #1433

closed

Close statement handler in Redmine.pm

Added by Mat Schaffer over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
Start date:
2008-06-12
Due date:
% Done:

0%

Estimated time:

Description

I just set up Redmine.pm for svn authentication and noticed a lot of log entries like this:

DBI::db=HASH->disconnect invalidates 1 active statement handle (either destroy statement handles or call finish on them before disconnecting) at /opt/code/redmine/extra/svn/Redmine.pm line 155.

Adding $sth->finish() fixes this and authentication is still working correctly.


Files

statement_handler_finish.diff (336 Bytes) statement_handler_finish.diff Patch to Redmine.pm that closes the statement handler Mat Schaffer, 2008-06-12 16:34
Actions

Also available in: Atom PDF