Fix debug output from zmDbDo
This commit is contained in:
parent
b178b0af5e
commit
e4f0c7cd98
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue