Call $equivflagscheckq->finish() at the end, rather than in the
candidate search loop. This avoids missing a `next' control path.
Call $resprop_q->finish() at all.
One of these is responsible for this message:
DBI::db=HASH(0x88e79c4)->disconnect invalidates 1 active statement
handle (either destroy statement handles or call finish on them
before disconnecting) at Osstest/Executive.pm line 708, <GEN4> line
53.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
push @{ $candrow->{Warnings} },
"host has multiple equivalence class flags";
}
- $equivflagscheckq->finish();
}
print DEBUG "$dbg FLAGS MISSINGFLAGS: @missingflags.\n";
print DEBUG "$dbg CANDIDATE.\n";
}
$findhostsq->finish();
+ $equivflagscheckq->finish();
$equivstatusq->finish();
+ $resprop_q->finish();
if (!@candidates) {
if (defined $use) {