Skip to content
Permalink
Browse files
row_build_index_entry(): Make index const
  • Loading branch information
dr-m committed Oct 1, 2018
1 parent c58e502 commit 5aa18f4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
@@ -90,8 +90,8 @@ row_build_index_entry_low(
inserted or purged */
const row_ext_t* ext, /*!< in: externally stored column
prefixes, or NULL */
dict_index_t* index, /*!< in: index on the table */
mem_heap_t* heap, /*!< in: memory heap from which
const dict_index_t* index, /*!< in: index on the table */
mem_heap_t* heap, /*!< in,out: memory heap from which
the memory for the index entry
is allocated */
ulint flag) /*!< in: ROW_BUILD_NORMAL,
@@ -112,8 +112,8 @@ row_build_index_entry(
inserted or purged */
const row_ext_t* ext, /*!< in: externally stored column
prefixes, or NULL */
dict_index_t* index, /*!< in: index on the table */
mem_heap_t* heap) /*!< in: memory heap from which
const dict_index_t* index, /*!< in: index on the table */
mem_heap_t* heap) /*!< in,out: memory heap from which
the memory for the index entry
is allocated */
MY_ATTRIBUTE((warn_unused_result, nonnull(1,3,4)));
@@ -119,8 +119,8 @@ row_build_index_entry(
inserted or purged */
const row_ext_t* ext, /*!< in: externally stored column
prefixes, or NULL */
dict_index_t* index, /*!< in: index on the table */
mem_heap_t* heap) /*!< in: memory heap from which
const dict_index_t* index, /*!< in: index on the table */
mem_heap_t* heap) /*!< in,out: memory heap from which
the memory for the index entry
is allocated */
{
@@ -57,7 +57,7 @@ Created 4/20/1996 Heikki Tuuri
of the field entry is allocated.
@retval false if undo log is logged before spatial index creation. */
static bool row_build_spatial_index_key(
dict_index_t* index,
const dict_index_t* index,
const row_ext_t* ext,
dfield_t* dfield,
const dfield_t* dfield2,
@@ -189,8 +189,8 @@ row_build_index_entry_low(
inserted or purged */
const row_ext_t* ext, /*!< in: externally stored column
prefixes, or NULL */
dict_index_t* index, /*!< in: index on the table */
mem_heap_t* heap, /*!< in: memory heap from which
const dict_index_t* index, /*!< in: index on the table */
mem_heap_t* heap, /*!< in,out: memory heap from which
the memory for the index entry
is allocated */
ulint flag) /*!< in: ROW_BUILD_NORMAL,

0 comments on commit 5aa18f4

Please sign in to comment.