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
cec26a7b
Commit
cec26a7b
authored
Aug 12, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: trx_undo_rec_copy(): Add const qualifier to undo_rec.
This is a non-functional change.
parent
1f502fb1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
include/trx0rec.h
include/trx0rec.h
+2
-2
include/trx0rec.ic
include/trx0rec.ic
+2
-2
trx/trx0rec.c
trx/trx0rec.c
+1
-1
No files found.
include/trx0rec.h
View file @
cec26a7b
...
...
@@ -44,8 +44,8 @@ UNIV_INLINE
trx_undo_rec_t
*
trx_undo_rec_copy
(
/*==============*/
trx_undo_rec_t
*
undo_rec
,
/*!< in: undo log record */
mem_heap_t
*
heap
);
/*!< in: heap where copied */
const
trx_undo_rec_t
*
undo_rec
,
/*!< in: undo log record */
mem_heap_t
*
heap
);
/*!< in: heap where copied */
/**********************************************************************//**
Reads the undo log record type.
@return record type */
...
...
include/trx0rec.ic
View file @
cec26a7b
...
...
@@ -100,8 +100,8 @@ UNIV_INLINE
trx_undo_rec_t*
trx_undo_rec_copy(
/*==============*/
trx_undo_rec_t* undo_rec, /*!< in: undo log record */
mem_heap_t* heap) /*!< in: heap where copied */
const
trx_undo_rec_t* undo_rec, /*!< in: undo log record */
mem_heap_t*
heap) /*!< in: heap where copied */
{
ulint len;
...
...
trx/trx0rec.c
View file @
cec26a7b
...
...
@@ -1333,7 +1333,7 @@ trx_undo_get_undo_rec_low(
ulint
rseg_id
;
ulint
page_no
;
ulint
offset
;
page_t
*
undo_page
;
const
page_t
*
undo_page
;
trx_rseg_t
*
rseg
;
ibool
is_insert
;
mtr_t
mtr
;
...
...
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