Skip to content

Commit 5c5d24c

Browse files
committed
MDEV-25456 - fix predicate in ib::error_or_warn
1 parent 78bb953 commit 5c5d24c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/log/log0recv.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ log_group_read_log_seg(
967967
DBUG_EXECUTE_IF("log_checksum_mismatch", { cksum = crc + 1; });
968968

969969
if (crc != cksum) {
970-
ib::error_or_warn(srv_operation == SRV_OPERATION_BACKUP)
970+
ib::error_or_warn(srv_operation != SRV_OPERATION_BACKUP)
971971
<< "Invalid log block checksum."
972972
<< " block: " << block_number
973973
<< " checkpoint no: "

0 commit comments

Comments
 (0)