1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-13 20:03:16 +03:00

branches/zip: Add const qualifiers to the upd_t* parameters of some functions.

This commit is contained in:
marko
2007-08-20 06:59:22 +00:00
parent 1e7b92f844
commit c09dd214be
4 changed files with 19 additions and 17 deletions

View File

@@ -208,7 +208,7 @@ row_upd_index_replace_new_col_vals(
dtuple_t* entry, /* in/out: index entry where replaced */
dict_index_t* index, /* in: index; NOTE that this may also be a
non-clustered index */
upd_t* update, /* in: an update vector built for the
const upd_t* update, /* in: an update vector built for the
CLUSTERED index so that the field number in
an upd_field is the clustered index position */
mem_heap_t* heap); /* in: memory heap to which we allocate and
@@ -244,10 +244,11 @@ NOTE: we compare the fields as binary strings! */
ibool
row_upd_changes_some_index_ord_field_binary(
/*========================================*/
/* out: TRUE if update vector may change
an ordering field in an index record */
dict_table_t* table, /* in: table */
upd_t* update);/* in: update vector for the row */
/* out: TRUE if update vector
may change an ordering field
in an index record */
const dict_table_t* table, /* in: table */
const upd_t* update);/* in: update vector for the row */
/***************************************************************
Updates a row in a table. This is a high-level function used
in SQL execution graphs. */