Commit 5c5d24c7 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-25456 - fix predicate in ib::error_or_warn

parent 78bb9533
...@@ -967,7 +967,7 @@ log_group_read_log_seg( ...@@ -967,7 +967,7 @@ log_group_read_log_seg(
DBUG_EXECUTE_IF("log_checksum_mismatch", { cksum = crc + 1; }); DBUG_EXECUTE_IF("log_checksum_mismatch", { cksum = crc + 1; });
if (crc != cksum) { 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." << "Invalid log block checksum."
<< " block: " << block_number << " block: " << block_number
<< " checkpoint no: " << " checkpoint no: "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment