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
c3399d79
Commit
c3399d79
authored
Sep 08, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some const qualifiers
parent
ae02407c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
storage/innobase/include/row0purge.h
storage/innobase/include/row0purge.h
+1
-1
storage/innobase/include/row0undo.h
storage/innobase/include/row0undo.h
+1
-1
storage/innobase/include/trx0rec.h
storage/innobase/include/trx0rec.h
+1
-1
storage/innobase/trx/trx0rec.cc
storage/innobase/trx/trx0rec.cc
+5
-5
No files found.
storage/innobase/include/row0purge.h
View file @
c3399d79
...
...
@@ -98,7 +98,7 @@ struct purge_node_t{
upd_t
*
update
;
/*!< update vector for a clustered index
record */
dtuple_t
*
ref
;
/*!< NULL, or row reference to the next row to
const
dtuple_t
*
ref
;
/*!< NULL, or row reference to the next row to
handle */
dtuple_t
*
row
;
/*!< NULL, or a copy (also fields copied to
heap) of the indexed fields of the row to
...
...
storage/innobase/include/row0undo.h
View file @
c3399d79
...
...
@@ -111,7 +111,7 @@ struct undo_node_t{
ulint
cmpl_info
;
/*!< compiler analysis of an update */
upd_t
*
update
;
/*!< update vector for a clustered index
record */
dtuple_t
*
ref
;
/*!< row reference to the next row to handle */
const
dtuple_t
*
ref
;
/*!< row reference to the next row to handle */
dtuple_t
*
row
;
/*!< a copy (also fields copied to heap) of the
row to handle */
row_ext_t
*
ext
;
/*!< NULL, or prefixes of the externally
...
...
storage/innobase/include/trx0rec.h
View file @
c3399d79
...
...
@@ -98,7 +98,7 @@ trx_undo_rec_get_row_ref(
used, as we do NOT copy the data in the
record! */
dict_index_t
*
index
,
/*!< in: clustered index */
dtuple_t
**
ref
,
/*!< out, own: row reference */
const
dtuple_t
**
ref
,
/*!< out, own: row reference */
mem_heap_t
*
heap
);
/*!< in: memory heap from which the memory
needed is allocated */
/**********************************************************************//**
...
...
storage/innobase/trx/trx0rec.cc
View file @
c3399d79
...
...
@@ -635,7 +635,7 @@ trx_undo_rec_get_row_ref(
used, as we do NOT copy the data in the
record! */
dict_index_t
*
index
,
/*!< in: clustered index */
dtuple_t
**
ref
,
/*!< out, own: row reference */
const
dtuple_t
**
ref
,
/*!< out, own: row reference */
mem_heap_t
*
heap
)
/*!< in: memory heap from which the memory
needed is allocated */
{
...
...
@@ -647,17 +647,17 @@ trx_undo_rec_get_row_ref(
ref_len
=
dict_index_get_n_unique
(
index
);
*
ref
=
dtuple_create
(
heap
,
ref_len
);
dtuple_t
*
tuple
=
dtuple_create
(
heap
,
ref_len
);
*
ref
=
tuple
;
dict_index_copy_types
(
*
ref
,
index
,
ref_len
);
dict_index_copy_types
(
tuple
,
index
,
ref_len
);
for
(
i
=
0
;
i
<
ref_len
;
i
++
)
{
dfield_t
*
dfield
;
const
byte
*
field
;
ulint
len
;
ulint
orig_len
;
dfield
=
dtuple_get_nth_field
(
*
ref
,
i
);
dfield
_t
*
dfield
=
dtuple_get_nth_field
(
tuple
,
i
);
ptr
=
trx_undo_rec_get_col_val
(
ptr
,
&
field
,
&
len
,
&
orig_len
);
...
...
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