MDEV-19486: Fix -Wsign-compare

This commit is contained in:
Marko Mäkelä 2019-05-20 13:02:22 +03:00
parent 48a662dae5
commit b77460508e

View file

@ -3486,7 +3486,7 @@ void upd_node_t::make_versioned_helper(const trx_t* trx, ulint idx)
dict_index_t* clust_index = dict_table_get_first_index(table);
/* row_create_update_node_for_mysql() pre-allocated this much */
ut_ad(update->n_fields < table->n_cols + table->n_v_cols);
ut_ad(update->n_fields < ulint(table->n_cols + table->n_v_cols));
update->n_fields++;
upd_field_t* ufield = upd_get_nth_field(update, update->n_fields - 1);