Remove unused parameters and dead code

upd_field_set_field_no(): Remove the unused parameter trx, and
remove a debug message. In debug builds, the out-of-bounds access
would still be caught by dict_index_get_nth_col().

trx_undo_update_rec_get_update(): Remove the unnecessary parameter trx.
This commit is contained in:
Marko Mäkelä 2017-09-29 16:19:28 +03:00
commit 7cd4a66de6
8 changed files with 11 additions and 29 deletions

View file

@ -1180,7 +1180,7 @@ pars_process_assign_list(
upd_field_set_field_no(upd_field, dict_index_get_nth_col_pos(
clust_index, col_sym->col_no,
NULL),
clust_index, NULL);
clust_index);
upd_field->exp = assign_node->val;
if (!dict_col_get_fixed_size(