Patch #1433

Close statement handler in Redmine.pm

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

Status:ClosedStart date:2008-06-12
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM
Target version:0.7.2

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.

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

Associated revisions

Revision 1539
Added by Jean-Philippe Lang over 9 years ago

Close statement handler in Redmine.pm (#1433).

History

#1 Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from New to Closed
  • Target version set to 0.7.2

Applied in r1539. Thanks.

Also available in: Atom PDF