Commit ec257218 authored by marko's avatar marko

branches/zip: row_upd_index_replace_new_col_val(): Fix the function

parameters that were somehow wrong in r2363.
parent 5dfe4d50
...@@ -877,6 +877,8 @@ row_upd_index_replace_new_col_val( ...@@ -877,6 +877,8 @@ row_upd_index_replace_new_col_val(
const dict_field_t* field, /* in: index field */ const dict_field_t* field, /* in: index field */
const dict_col_t* col, /* in: field->col */ const dict_col_t* col, /* in: field->col */
const upd_field_t* uf, /* in: update field */ const upd_field_t* uf, /* in: update field */
mem_heap_t* heap, /* in: memory heap for allocating
and copying the new value */
ulint zip_size)/* in: compressed page ulint zip_size)/* in: compressed page
size of the table, or 0 */ size of the table, or 0 */
{ {
...@@ -976,7 +978,7 @@ row_upd_index_replace_new_col_vals_index_pos( ...@@ -976,7 +978,7 @@ row_upd_index_replace_new_col_vals_index_pos(
/* in: if TRUE, limit the replacement to /* in: if TRUE, limit the replacement to
ordering fields of index; note that this ordering fields of index; note that this
does not work for non-clustered indexes. */ does not work for non-clustered indexes. */
mem_heap_t* heap, /* in: memory heap for allocating and mem_heap_t* heap) /* in: memory heap for allocating and
copying the new values */ copying the new values */
{ {
ulint i; ulint i;
...@@ -1005,7 +1007,7 @@ row_upd_index_replace_new_col_vals_index_pos( ...@@ -1005,7 +1007,7 @@ row_upd_index_replace_new_col_vals_index_pos(
if (uf) { if (uf) {
row_upd_index_replace_new_col_val( row_upd_index_replace_new_col_val(
dtuple_get_nth_field(entry, i), dtuple_get_nth_field(entry, i),
field, col, uf, zip_size); field, col, uf, heap, zip_size);
} }
} }
} }
...@@ -1050,7 +1052,7 @@ row_upd_index_replace_new_col_vals( ...@@ -1050,7 +1052,7 @@ row_upd_index_replace_new_col_vals(
if (uf) { if (uf) {
row_upd_index_replace_new_col_val( row_upd_index_replace_new_col_val(
dtuple_get_nth_field(entry, i), dtuple_get_nth_field(entry, i),
field, col, uf); field, col, uf, heap, zip_size);
} }
} }
} }
......
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