Move SQL debug to Execute
This commit is contained in:
parent
f1831383da
commit
7700623b16
|
@ -127,6 +127,7 @@ sub Execute {
|
|||
while( my $event = $sth->fetchrow_hashref() ) {
|
||||
push @results, $event;
|
||||
}
|
||||
Debug($sql . ' returned ' . @results . ' events.' );
|
||||
$sth->finish();
|
||||
return @results;
|
||||
}
|
||||
|
@ -359,7 +360,6 @@ sub Sql {
|
|||
{
|
||||
$sql .= " limit 0,".$filter_expr->{limit};
|
||||
}
|
||||
Debug( "SQL:$sql\n" );
|
||||
$self->{Sql} = $sql;
|
||||
} # end if has Sql
|
||||
return $self->{Sql};
|
||||
|
|
Loading…
Reference in New Issue