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
bf0ee2f1
Commit
bf0ee2f1
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
38657b25
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 @
bf0ee2f1
...
...
@@ -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 @
bf0ee2f1
...
...
@@ -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 @
bf0ee2f1
...
...
@@ -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