Commit 526b996a authored by marko@hundin.mysql.fi's avatar marko@hundin.mysql.fi

page0page.c:

  page_dir_find_owner_slot(): Fix bug in corruption diagnostics.
parent b9fdd876
...@@ -103,7 +103,7 @@ page_dir_find_owner_slot( ...@@ -103,7 +103,7 @@ page_dir_find_owner_slot(
(ulong) buf_frame_get_page_no(page)); (ulong) buf_frame_get_page_no(page));
if (comp) { if (comp) {
fputs("(compact record)\n", stderr); fputs("(compact record)", stderr);
} else { } else {
rec_print_old(stderr, original_rec); rec_print_old(stderr, original_rec);
} }
...@@ -113,7 +113,11 @@ page_dir_find_owner_slot( ...@@ -113,7 +113,11 @@ page_dir_find_owner_slot(
fputs( fputs(
"InnoDB: Cannot find the dir slot for record ", "InnoDB: Cannot find the dir slot for record ",
stderr); stderr);
rec_print(stderr, rec, NULL); if (comp) {
fputs("(compact record)", stderr);
} else {
rec_print_old(stderr, rec);
}
fputs("\n" fputs("\n"
"InnoDB: on that page!\n", stderr); "InnoDB: on that page!\n", stderr);
......
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