summaryrefslogtreecommitdiff
path: root/storage/innobase/include/btr0cur.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/btr0cur.h')
-rw-r--r--storage/innobase/include/btr0cur.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/storage/innobase/include/btr0cur.h b/storage/innobase/include/btr0cur.h
index 78637ea7295..8c750568c6e 100644
--- a/storage/innobase/include/btr0cur.h
+++ b/storage/innobase/include/btr0cur.h
@@ -825,6 +825,28 @@ extern ulint btr_cur_n_sea_old;
extern uint btr_cur_limit_optimistic_insert_debug;
#endif /* UNIV_DEBUG */
+/*******************************************************************//**
+Print information about old page and a new page on a B-tree when
+we note that page types do not match.*/
+void
+btr_pages_info(
+ page_t* old_page, /*!< in: Page where we were */
+ page_t* new_page, /*!< in: Page where we travelsed */
+ ulint space_id, /*!< in: space id */
+ ulint zip_size, /*!< in: zip size */
+ ulint page_no, /*!< in: Page id where travelsed */
+ ulint latch_mode, /*!< in: Used latch mode */
+ dict_index_t* index, /*!< in: Used index */
+ ulint old_next_page_no, /*!< in: Next page number from old page */
+ ulint old_prev_page_no, /*!< in: Prev page number from old page */
+ ulint new_space_id, /*!< in: Space id of new page */
+ ulint new_zip_size, /*!< in: Zip size of new page */
+ ulint new_next_page_no, /*!< in: Next page number from new page */
+ ulint new_prev_page_no, /*!< in: Prev page number from new page */
+ mtr_t* mtr, /*!< in: mini transaction */
+ const char* file, /*!< in: file name where called */
+ ulint line); /*!< in: line number where called */
+
#ifndef UNIV_NONINL
#include "btr0cur.ic"
#endif