Commit c9c1adc6 authored by Marko Mäkelä's avatar Marko Mäkelä

Avoid comparison of unsigned to signed

parent f3b6c49f
...@@ -1570,7 +1570,7 @@ rec_copy_prefix_to_dtuple_func( ...@@ -1570,7 +1570,7 @@ rec_copy_prefix_to_dtuple_func(
ulint* offsets = offsets_; ulint* offsets = offsets_;
rec_offs_init(offsets_); rec_offs_init(offsets_);
ut_ad(is_leaf || n_fields <= index->n_uniq + 1); ut_ad(is_leaf || n_fields <= unsigned(index->n_uniq + 1));
offsets = rec_get_offsets(rec, index, offsets, is_leaf, offsets = rec_get_offsets(rec, index, offsets, is_leaf,
n_fields, &heap); n_fields, &heap);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment