mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
branches/zip: buf_page_print(): Clean up the code #ifdef UNIV_HOTBACKUP.
This commit is contained in:
parent
412893d6f3
commit
83e98148b5
1 changed files with 2 additions and 10 deletions
|
@ -572,16 +572,7 @@ buf_page_print(
|
||||||
btr_page_get_index_id(read_buf)),
|
btr_page_get_index_id(read_buf)),
|
||||||
(ulong) ut_dulint_get_low(
|
(ulong) ut_dulint_get_low(
|
||||||
btr_page_get_index_id(read_buf)));
|
btr_page_get_index_id(read_buf)));
|
||||||
|
#ifndef UNIV_HOTBACKUP
|
||||||
#ifdef UNIV_HOTBACKUP
|
|
||||||
/* If the code is in ibbackup, dict_sys may be uninitialized,
|
|
||||||
i.e., NULL */
|
|
||||||
|
|
||||||
if (dict_sys == NULL) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
#endif /* UNIV_HOTBACKUP */
|
|
||||||
|
|
||||||
index = dict_index_find_on_id_low(
|
index = dict_index_find_on_id_low(
|
||||||
btr_page_get_index_id(read_buf));
|
btr_page_get_index_id(read_buf));
|
||||||
if (index) {
|
if (index) {
|
||||||
|
@ -589,6 +580,7 @@ buf_page_print(
|
||||||
dict_index_name_print(stderr, NULL, index);
|
dict_index_name_print(stderr, NULL, index);
|
||||||
fputs(")\n", stderr);
|
fputs(")\n", stderr);
|
||||||
}
|
}
|
||||||
|
#endif /* !UNIV_HOTBACKUP */
|
||||||
break;
|
break;
|
||||||
case FIL_PAGE_INODE:
|
case FIL_PAGE_INODE:
|
||||||
fputs("InnoDB: Page may be an 'inode' page\n", stderr);
|
fputs("InnoDB: Page may be an 'inode' page\n", stderr);
|
||||||
|
|
Loading…
Add table
Reference in a new issue