Commit 861d8fb8 authored by marko's avatar marko

branches/zip: dict_index_get_n_unique_in_tree(), dict_index_get_n_unique():

Add const qualifiers.
parent 499bbb4b
...@@ -695,8 +695,8 @@ ulint ...@@ -695,8 +695,8 @@ ulint
dict_index_get_n_unique( dict_index_get_n_unique(
/*====================*/ /*====================*/
/* out: number of fields */ /* out: number of fields */
dict_index_t* index); /* in: an internal representation of index const dict_index_t* index); /* in: an internal representation
(in the dictionary cache) */ of index (in the dictionary cache) */
/************************************************************************ /************************************************************************
Gets the number of fields in the internal representation of an index Gets the number of fields in the internal representation of an index
which uniquely determine the position of an index entry in the index, if which uniquely determine the position of an index entry in the index, if
...@@ -706,8 +706,8 @@ ulint ...@@ -706,8 +706,8 @@ ulint
dict_index_get_n_unique_in_tree( dict_index_get_n_unique_in_tree(
/*============================*/ /*============================*/
/* out: number of fields */ /* out: number of fields */
dict_index_t* index); /* in: an internal representation of index const dict_index_t* index); /* in: an internal representation
(in the dictionary cache) */ of index (in the dictionary cache) */
/************************************************************************ /************************************************************************
Gets the number of user-defined ordering fields in the index. In the internal Gets the number of user-defined ordering fields in the index. In the internal
representation we add the row id to the ordering fields to make all indexes representation we add the row id to the ordering fields to make all indexes
......
...@@ -376,8 +376,8 @@ ulint ...@@ -376,8 +376,8 @@ ulint
dict_index_get_n_unique( dict_index_get_n_unique(
/*====================*/ /*====================*/
/* out: number of fields */ /* out: number of fields */
dict_index_t* index) /* in: an internal representation of index const dict_index_t* index) /* in: an internal representation
(in the dictionary cache) */ of index (in the dictionary cache) */
{ {
ut_ad(index); ut_ad(index);
ut_ad(index->magic_n == DICT_INDEX_MAGIC_N); ut_ad(index->magic_n == DICT_INDEX_MAGIC_N);
...@@ -395,8 +395,8 @@ ulint ...@@ -395,8 +395,8 @@ ulint
dict_index_get_n_unique_in_tree( dict_index_get_n_unique_in_tree(
/*============================*/ /*============================*/
/* out: number of fields */ /* out: number of fields */
dict_index_t* index) /* in: an internal representation of index const dict_index_t* index) /* in: an internal representation
(in the dictionary cache) */ of index (in the dictionary cache) */
{ {
ut_ad(index); ut_ad(index);
ut_ad(index->magic_n == DICT_INDEX_MAGIC_N); ut_ad(index->magic_n == DICT_INDEX_MAGIC_N);
......
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