row_build_index_entry(): Make index const
This commit is contained in:
parent
c58e502455
commit
5aa18f4e08
@ -90,8 +90,8 @@ row_build_index_entry_low(
|
|||||||
inserted or purged */
|
inserted or purged */
|
||||||
const row_ext_t* ext, /*!< in: externally stored column
|
const row_ext_t* ext, /*!< in: externally stored column
|
||||||
prefixes, or NULL */
|
prefixes, or NULL */
|
||||||
dict_index_t* index, /*!< in: index on the table */
|
const dict_index_t* index, /*!< in: index on the table */
|
||||||
mem_heap_t* heap, /*!< in: memory heap from which
|
mem_heap_t* heap, /*!< in,out: memory heap from which
|
||||||
the memory for the index entry
|
the memory for the index entry
|
||||||
is allocated */
|
is allocated */
|
||||||
ulint flag) /*!< in: ROW_BUILD_NORMAL,
|
ulint flag) /*!< in: ROW_BUILD_NORMAL,
|
||||||
@ -112,8 +112,8 @@ row_build_index_entry(
|
|||||||
inserted or purged */
|
inserted or purged */
|
||||||
const row_ext_t* ext, /*!< in: externally stored column
|
const row_ext_t* ext, /*!< in: externally stored column
|
||||||
prefixes, or NULL */
|
prefixes, or NULL */
|
||||||
dict_index_t* index, /*!< in: index on the table */
|
const dict_index_t* index, /*!< in: index on the table */
|
||||||
mem_heap_t* heap) /*!< in: memory heap from which
|
mem_heap_t* heap) /*!< in,out: memory heap from which
|
||||||
the memory for the index entry
|
the memory for the index entry
|
||||||
is allocated */
|
is allocated */
|
||||||
MY_ATTRIBUTE((warn_unused_result, nonnull(1,3,4)));
|
MY_ATTRIBUTE((warn_unused_result, nonnull(1,3,4)));
|
||||||
|
@ -119,8 +119,8 @@ row_build_index_entry(
|
|||||||
inserted or purged */
|
inserted or purged */
|
||||||
const row_ext_t* ext, /*!< in: externally stored column
|
const row_ext_t* ext, /*!< in: externally stored column
|
||||||
prefixes, or NULL */
|
prefixes, or NULL */
|
||||||
dict_index_t* index, /*!< in: index on the table */
|
const dict_index_t* index, /*!< in: index on the table */
|
||||||
mem_heap_t* heap) /*!< in: memory heap from which
|
mem_heap_t* heap) /*!< in,out: memory heap from which
|
||||||
the memory for the index entry
|
the memory for the index entry
|
||||||
is allocated */
|
is allocated */
|
||||||
{
|
{
|
||||||
|
@ -57,7 +57,7 @@ Created 4/20/1996 Heikki Tuuri
|
|||||||
of the field entry is allocated.
|
of the field entry is allocated.
|
||||||
@retval false if undo log is logged before spatial index creation. */
|
@retval false if undo log is logged before spatial index creation. */
|
||||||
static bool row_build_spatial_index_key(
|
static bool row_build_spatial_index_key(
|
||||||
dict_index_t* index,
|
const dict_index_t* index,
|
||||||
const row_ext_t* ext,
|
const row_ext_t* ext,
|
||||||
dfield_t* dfield,
|
dfield_t* dfield,
|
||||||
const dfield_t* dfield2,
|
const dfield_t* dfield2,
|
||||||
@ -189,8 +189,8 @@ row_build_index_entry_low(
|
|||||||
inserted or purged */
|
inserted or purged */
|
||||||
const row_ext_t* ext, /*!< in: externally stored column
|
const row_ext_t* ext, /*!< in: externally stored column
|
||||||
prefixes, or NULL */
|
prefixes, or NULL */
|
||||||
dict_index_t* index, /*!< in: index on the table */
|
const dict_index_t* index, /*!< in: index on the table */
|
||||||
mem_heap_t* heap, /*!< in: memory heap from which
|
mem_heap_t* heap, /*!< in,out: memory heap from which
|
||||||
the memory for the index entry
|
the memory for the index entry
|
||||||
is allocated */
|
is allocated */
|
||||||
ulint flag) /*!< in: ROW_BUILD_NORMAL,
|
ulint flag) /*!< in: ROW_BUILD_NORMAL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user