summaryrefslogtreecommitdiff
path: root/extra/innochecksum.cc
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2019-08-01 15:24:48 +0300
committerEugene Kosov <claprix@yandex.ru>2019-08-01 16:49:17 +0300
commit319cec959c6295da3c2a1d003d12421a7d8ba343 (patch)
tree9aa62849624ba98c802455a6875961bb517304ad /extra/innochecksum.cc
parent0bb8f33b55cc016d0ede86b97990a3ee30dcb069 (diff)
downloadmariadb-git-319cec959c6295da3c2a1d003d12421a7d8ba343.tar.gz
MDEV-17638 Improve error message about corruption of encrypted pagebb-10.1-MDEV-17638-improve-warning
Help user distinguish between space ID and page number.
Diffstat (limited to 'extra/innochecksum.cc')
-rw-r--r--extra/innochecksum.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/innochecksum.cc b/extra/innochecksum.cc
index d7c5cd7495b..00ca3e20339 100644
--- a/extra/innochecksum.cc
+++ b/extra/innochecksum.cc
@@ -525,7 +525,8 @@ is_page_corrupted(
page_size.is_compressed() ? page_size.physical() : 0);
if (is_corrupted && 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",
space_id, cur_page_num,
mach_read_from_4(