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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
5aa18f4e
Commit
5aa18f4e
authored
Oct 01, 2018
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
row_build_index_entry(): Make index const
parent
c58e5024
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
storage/innobase/include/row0row.h
storage/innobase/include/row0row.h
+4
-4
storage/innobase/include/row0row.ic
storage/innobase/include/row0row.ic
+2
-2
storage/innobase/row/row0row.cc
storage/innobase/row/row0row.cc
+3
-3
No files found.
storage/innobase/include/row0row.h
View file @
5aa18f4e
...
@@ -90,8 +90,8 @@ row_build_index_entry_low(
...
@@ -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(
...
@@ -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
)));
...
...
storage/innobase/include/row0row.ic
View file @
5aa18f4e
...
@@ -119,8 +119,8 @@ row_build_index_entry(
...
@@ -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 */
{
{
...
...
storage/innobase/row/row0row.cc
View file @
5aa18f4e
...
@@ -57,7 +57,7 @@ Created 4/20/1996 Heikki Tuuri
...
@@ -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(
...
@@ -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,
...
...
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