Skip to content

Commit

Permalink
MDEV-25456 - fix predicate in ib::error_or_warn
Browse files Browse the repository at this point in the history
  • Loading branch information
vaintroub committed Apr 22, 2021
1 parent 78bb953 commit 5c5d24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/innobase/log/log0recv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ log_group_read_log_seg(
DBUG_EXECUTE_IF("log_checksum_mismatch", { cksum = crc + 1; });

if (crc != cksum) {
ib::error_or_warn(srv_operation == SRV_OPERATION_BACKUP)
ib::error_or_warn(srv_operation != SRV_OPERATION_BACKUP)
<< "Invalid log block checksum."
<< " block: " << block_number
<< " checkpoint no: "
Expand Down

0 comments on commit 5c5d24c

Please sign in to comment.