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

MDEV-19486: Fix -Wsign-compare

parent 48a662da
...@@ -3486,7 +3486,7 @@ void upd_node_t::make_versioned_helper(const trx_t* trx, ulint idx) ...@@ -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); dict_index_t* clust_index = dict_table_get_first_index(table);
/* row_create_update_node_for_mysql() pre-allocated this much */ /* 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++; update->n_fields++;
upd_field_t* ufield = upd_get_nth_field(update, update->n_fields - 1); upd_field_t* ufield = upd_get_nth_field(update, update->n_fields - 1);
......
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