Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
861d8fb8
Commit
861d8fb8
authored
Sep 19, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: dict_index_get_n_unique_in_tree(), dict_index_get_n_unique():
Add const qualifiers.
parent
499bbb4b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
include/dict0dict.h
include/dict0dict.h
+6
-6
include/dict0dict.ic
include/dict0dict.ic
+6
-6
No files found.
include/dict0dict.h
View file @
861d8fb8
...
...
@@ -695,8 +695,8 @@ ulint
dict_index_get_n_unique
(
/*====================*/
/* out: number of fields */
dict_index_t
*
index
);
/* in: an internal representation of index
(in the dictionary cache) */
const
dict_index_t
*
index
);
/* in: an internal representation
of index
(in the dictionary cache) */
/************************************************************************
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
...
...
@@ -706,8 +706,8 @@ ulint
dict_index_get_n_unique_in_tree
(
/*============================*/
/* out: number of fields */
dict_index_t
*
index
);
/* in: an internal representation of index
(in the dictionary cache) */
const
dict_index_t
*
index
);
/* in: an internal representation
of index
(in the dictionary cache) */
/************************************************************************
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
...
...
include/dict0dict.ic
View file @
861d8fb8
...
...
@@ -376,8 +376,8 @@ ulint
dict_index_get_n_unique(
/*====================*/
/* out: number of fields */
dict_index_t* index) /* in: an internal representation of index
(in the dictionary cache) */
const dict_index_t* index) /* in: an internal representation
of index
(in the dictionary cache) */
{
ut_ad(index);
ut_ad(index->magic_n == DICT_INDEX_MAGIC_N);
...
...
@@ -395,8 +395,8 @@ ulint
dict_index_get_n_unique_in_tree(
/*============================*/
/* out: number of fields */
dict_index_t* index) /* in: an internal representation of index
(in the dictionary cache) */
const dict_index_t* index) /* in: an internal representation
of index
(in the dictionary cache) */
{
ut_ad(index);
ut_ad(index->magic_n == DICT_INDEX_MAGIC_N);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment