mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +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)),
|
||||
(ulong) ut_dulint_get_low(
|
||||
btr_page_get_index_id(read_buf)));
|
||||
|
||||
#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 */
|
||||
|
||||
#ifndef UNIV_HOTBACKUP
|
||||
index = dict_index_find_on_id_low(
|
||||
btr_page_get_index_id(read_buf));
|
||||
if (index) {
|
||||
|
@ -589,6 +580,7 @@ buf_page_print(
|
|||
dict_index_name_print(stderr, NULL, index);
|
||||
fputs(")\n", stderr);
|
||||
}
|
||||
#endif /* !UNIV_HOTBACKUP */
|
||||
break;
|
||||
case FIL_PAGE_INODE:
|
||||
fputs("InnoDB: Page may be an 'inode' page\n", stderr);
|
||||
|
|
Loading…
Add table
Reference in a new issue