Fix debug output from zmDbDo

This commit is contained in:
Isaac Connor 2022-01-13 09:54:47 -05:00
parent b178b0af5e
commit e4f0c7cd98
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ sub zmDbDo {
Error(sprintf("Failed $sql :", @_).$dbh->errstr());
} elsif ( ZoneMinder::Logger::logLevel() > INFO ) {
$sql =~ s/\?/'%s'/;
Debug(sprintf("Failed $sql :", @_).$dbh->errstr());
Debug(sprintf("Succeeded $sql : $rows rows affected", @_));
}
return $rows;
}