From: ivan Date: Thu, 7 Apr 2011 23:46:58 +0000 (+0000) Subject: more debugging to hopefully find out where mysql is hanging, RT#10574 X-Git-Tag: freeside_2_3_0~444 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=484dbc5f3c541abd4e81cdbd38c87f12d69552f3;p=freeside.git more debugging to hopefully find out where mysql is hanging, RT#10574 --- diff --git a/FS/bin/freeside-torrus-srvderive b/FS/bin/freeside-torrus-srvderive index 38dfdbbe8..71c1874d9 100644 --- a/FS/bin/freeside-torrus-srvderive +++ b/FS/bin/freeside-torrus-srvderive @@ -92,7 +92,10 @@ MAIN: while (1) { warn "searching for times to add $serviceid\n" if $DEBUG; warn $ssql if $DEBUG > 2; my $sth = dbh->prepare($ssql) or die $DBI::errstr; #better recovery? + + warn "executing search" if $DEBUG; $sth->execute($serviceid, $serviceid) or die $sth->errstr; + warn "search executed; checking results" if $DEBUG; my $prev = 0; while ( my $row = $sth->fetchrow_arrayref ) {