Skip to content

Commit

Permalink
Fix one more warning for page_header_get_field()
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Sep 14, 2017
1 parent 126a581 commit cfd51c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/innobase/page/page0page.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2615,7 +2615,7 @@ page_validate(
goto func_exit;
}

if (UNIV_UNLIKELY(page_header_get_field(page, PAGE_N_RECS)
if (UNIV_UNLIKELY(ulint(page_header_get_field(page, PAGE_N_RECS))
+ PAGE_HEAP_NO_USER_LOW
!= count + 1)) {
ib::error() << "n recs wrong "
Expand Down

0 comments on commit cfd51c0

Please sign in to comment.