Commit 8736181d authored by unknown's avatar unknown

page0page.c:

  page_dir_find_owner_slot(): Fix bug in corruption diagnostics.


innobase/page/page0page.c:
  page_dir_find_owner_slot(): Fix bug in corruption diagnostics.
parent 9e8f628d
...@@ -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