MDEV-13061 innodb_encrypt_log recovery is spamming the error log
log_crypt(): Remove the useless error log output that was accidentally introduced in MDEV-11782. These messages could be emitted to the server error log during crash recovery.
This commit is contained in:
parent
35248fed10
commit
a4efeabc43
@ -156,19 +156,6 @@ log_crypt(byte* buf, ulint size, bool decrypt)
|
|||||||
|
|
||||||
ut_a(rc == MY_AES_OK);
|
ut_a(rc == MY_AES_OK);
|
||||||
ut_a(dst_len == sizeof dst);
|
ut_a(dst_len == sizeof dst);
|
||||||
if (decrypt) {
|
|
||||||
std::ostringstream s;
|
|
||||||
ut_print_buf_hex(s, buf + LOG_CRYPT_HDR_SIZE,
|
|
||||||
OS_FILE_LOG_BLOCK_SIZE
|
|
||||||
- LOG_CRYPT_HDR_SIZE);
|
|
||||||
ib::info() << "S: " << s.str();
|
|
||||||
std::ostringstream d;
|
|
||||||
ut_print_buf_hex(d, dst,
|
|
||||||
OS_FILE_LOG_BLOCK_SIZE
|
|
||||||
- LOG_CRYPT_HDR_SIZE);
|
|
||||||
ib::info() << "c: " << d.str();
|
|
||||||
}
|
|
||||||
|
|
||||||
memcpy(buf + LOG_CRYPT_HDR_SIZE, dst, sizeof dst);
|
memcpy(buf + LOG_CRYPT_HDR_SIZE, dst, sizeof dst);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user