Commit 319cec95 authored by Eugene Kosov's avatar Eugene Kosov

MDEV-17638 Improve error message about corruption of encrypted page

Help user distinguish between space ID and page number.
parent 0bb8f33b
...@@ -525,7 +525,8 @@ is_page_corrupted( ...@@ -525,7 +525,8 @@ is_page_corrupted(
page_size.is_compressed() ? page_size.physical() : 0); page_size.is_compressed() ? page_size.physical() : 0);
if (is_corrupted && log_file) { if (is_corrupted && log_file) {
fprintf(log_file, fprintf(log_file,
"Page " ULINTPF ":%llu may be corrupted;" "[page id: space=" ULINTPF
", page_number=%llu] may be corrupted;"
" key_version=" ULINTPF "\n", " key_version=" ULINTPF "\n",
space_id, cur_page_num, space_id, cur_page_num,
mach_read_from_4( mach_read_from_4(
......
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