Corrected some bogus statement handles.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@141 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
9b26079057
commit
925e3e641d
|
@ -216,7 +216,7 @@ while( my $frame = $sth7->fetchrow_hashref() )
|
|||
print( "Found orphaned frame records for event '$frame->{EventId}'" );
|
||||
if ( confirm() )
|
||||
{
|
||||
$res = $sth7->execute( $frame->{EventId} ) or die( "Can't execute: ".$sth7->errstr() );
|
||||
$res = $sth5->execute( $frame->{EventId} ) or die( "Can't execute: ".$sth7->errstr() );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -228,7 +228,7 @@ while( my $stat = $sth8->fetchrow_hashref() )
|
|||
print( "Found orphaned statistic records for event '$stat->{EventId}'" );
|
||||
if ( confirm() )
|
||||
{
|
||||
$res = $sth8->execute( $stat->{EventId} ) or die( "Can't execute: ".$sth8->errstr() );
|
||||
$res = $sth6->execute( $stat->{EventId} ) or die( "Can't execute: ".$sth8->errstr() );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue