Skip to content

Commit

Permalink
Avoid comparison of unsigned to signed
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Sep 20, 2017
1 parent 96f06f9 commit a1e4797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/innobase/rem/rem0rec.cc
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ rec_get_offsets_func(
infimum and supremum record based on the heap number. */
ut_d(const bool is_user_rec = rec_get_heap_no_old(rec)
>= PAGE_HEAP_NO_USER_LOW);
ut_ad(n <= index->n_fields + !leaf || index->is_dummy
ut_ad(n <= ulint(index->n_fields + !leaf) || index->is_dummy
|| dict_index_is_ibuf(index));
/* The infimum and supremum records carry 1 field. */
ut_ad(is_user_rec || n == 1);
Expand Down

0 comments on commit a1e4797

Please sign in to comment.