Skip to content

Commit 7261b15

Browse files
committed
Bug#35102065 Revert WLs 14772, 15131 and 15133 from mysql-8.0 and mysql-trunk branch
Post push fix to resolve build failure in pb2 Windows platform. Change-Id: I05ecdcd33cb6075e91753ef14b52b06c425d23d0
1 parent f2688f5 commit 7261b15

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

storage/innobase/btr/btr0btr.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4227,6 +4227,11 @@ static bool btr_validate_level(
42274227
right_page_no = btr_page_get_next(page, &mtr);
42284228
left_page_no = btr_page_get_prev(page, &mtr);
42294229

4230+
#ifdef UNIV_DEBUG
4231+
const ulint cur_page_no = page_get_page_no(page);
4232+
index_details.add_page(cur_page_no, level);
4233+
#endif /* UNIV_DEBUG */
4234+
42304235
ut_a(!page_is_empty(page) ||
42314236
(level == 0 && page_get_page_no(page) == dict_index_get_page(index)));
42324237

0 commit comments

Comments
 (0)