Bug 8379 don't close dbh

don't close the DBH handler, because under plack this cause a lot of problem
and in CGI mode, closing the dbh handler is useless

Signed-off-by: Dobrica Pavlinusic <dpavlin@rot13.org>
This commit is contained in:
Paul Poulain 2012-09-24 22:48:30 +02:00
parent 7576704d3f
commit 07a55421e2

View file

@ -46,7 +46,6 @@ sub string_search {
$u++;
}
$sth->finish;
$dbh->disconnect;
return ( $cnt, \@results );
}