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
94eee936
Commit
94eee936
authored
Aug 30, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Add const qualifiers to some XID* parameters.
parent
095630bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
trx/trx0undo.c
trx/trx0undo.c
+5
-5
No files found.
trx/trx0undo.c
View file @
94eee936
...
...
@@ -98,7 +98,7 @@ trx_undo_mem_create(
TRX_UNDO_UPDATE */
dulint
trx_id
,
/* in: id of the trx for which the undo log
is created */
XID
*
xid
,
/* in: X/Open XA transaction identification*/
const
XID
*
xid
,
/* in: X/Open XA transaction identification*/
ulint
page_no
,
/* in: undo log header page number */
ulint
offset
);
/* in: undo log header byte offset on page */
/*******************************************************************
...
...
@@ -1410,7 +1410,7 @@ trx_undo_mem_create(
TRX_UNDO_UPDATE */
dulint
trx_id
,
/* in: id of the trx for which the undo log
is created */
XID
*
xid
,
/* in: X/Open transaction identification */
const
XID
*
xid
,
/* in: X/Open transaction identification */
ulint
page_no
,
/* in: undo log header page number */
ulint
offset
)
/* in: undo log header byte offset on page */
{
...
...
@@ -1465,7 +1465,7 @@ trx_undo_mem_init_for_reuse(
trx_undo_t
*
undo
,
/* in: undo log to init */
dulint
trx_id
,
/* in: id of the trx for which the undo log
is created */
XID
*
xid
,
/* in: X/Open XA transaction identification*/
const
XID
*
xid
,
/* in: X/Open XA transaction identification*/
ulint
offset
)
/* in: undo log header byte offset on page */
{
ut_ad
(
mutex_own
(
&
((
undo
->
rseg
)
->
mutex
)));
...
...
@@ -1524,7 +1524,7 @@ trx_undo_create(
TRX_UNDO_UPDATE */
dulint
trx_id
,
/* in: id of the trx for which the undo log
is created */
XID
*
xid
,
/* in: X/Open transaction identification*/
const
XID
*
xid
,
/* in: X/Open transaction identification*/
trx_undo_t
**
undo
,
/* out: the new undo log object, undefined
* if did not succeed */
mtr_t
*
mtr
)
/* in: mtr */
...
...
@@ -1594,7 +1594,7 @@ trx_undo_reuse_cached(
TRX_UNDO_UPDATE */
dulint
trx_id
,
/* in: id of the trx for which the undo log
is used */
XID
*
xid
,
/* in: X/Open XA transaction identification */
const
XID
*
xid
,
/* in: X/Open XA transaction identification */
mtr_t
*
mtr
)
/* in: mtr */
{
trx_undo_t
*
undo
;
...
...
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