Commit 0e93b872 authored by Ian Longden's avatar Ian Longden
Browse files

finish sth after use

parent dfcd4545
......@@ -728,8 +728,10 @@ sub is_toplevel{
my $code = undef;
$sth->bind_columns(\$code);
while($sth->fetch){
$sth->finish;
return 1;
}
$sth->finish;
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment