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
b87f59b2
Commit
b87f59b2
authored
Oct 26, 2010
by
Inaam Rana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warning introduced by previous commit.
parent
b91f6c72
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
9 deletions
+2
-9
storage/innobase/include/trx0undo.h
storage/innobase/include/trx0undo.h
+0
-2
storage/innobase/trx/trx0trx.c
storage/innobase/trx/trx0trx.c
+2
-3
storage/innobase/trx/trx0undo.c
storage/innobase/trx/trx0undo.c
+0
-4
No files found.
storage/innobase/include/trx0undo.h
View file @
b87f59b2
...
...
@@ -262,8 +262,6 @@ UNIV_INTERN
page_t
*
trx_undo_set_state_at_finish
(
/*=========================*/
trx_rseg_t
*
rseg
,
/*!< in: rollback segment memory object */
trx_t
*
trx
,
/*!< in: transaction */
trx_undo_t
*
undo
,
/*!< in: undo log memory copy */
mtr_t
*
mtr
);
/*!< in: mtr */
/******************************************************************//**
...
...
storage/innobase/trx/trx0trx.c
View file @
b87f59b2
...
...
@@ -753,8 +753,7 @@ trx_commit_off_kernel(
mutex_enter
(
&
(
rseg
->
mutex
));
if
(
trx
->
insert_undo
!=
NULL
)
{
trx_undo_set_state_at_finish
(
rseg
,
trx
,
trx
->
insert_undo
,
&
mtr
);
trx_undo_set_state_at_finish
(
trx
->
insert_undo
,
&
mtr
);
}
undo
=
trx
->
update_undo
;
...
...
@@ -769,7 +768,7 @@ trx_commit_off_kernel(
transaction commit for this transaction. */
update_hdr_page
=
trx_undo_set_state_at_finish
(
rseg
,
trx
,
undo
,
&
mtr
);
undo
,
&
mtr
);
/* We have to do the cleanup for the update log while
holding the rseg mutex because update log headers
...
...
storage/innobase/trx/trx0undo.c
View file @
b87f59b2
...
...
@@ -1798,8 +1798,6 @@ UNIV_INTERN
page_t
*
trx_undo_set_state_at_finish
(
/*=========================*/
trx_rseg_t
*
rseg
,
/*!< in: rollback segment memory object */
trx_t
*
trx
__attribute__
((
unused
)),
/*!< in: transaction */
trx_undo_t
*
undo
,
/*!< in: undo log memory copy */
mtr_t
*
mtr
)
/*!< in: mtr */
{
...
...
@@ -1808,10 +1806,8 @@ trx_undo_set_state_at_finish(
page_t
*
undo_page
;
ulint
state
;
ut_ad
(
trx
);
ut_ad
(
undo
);
ut_ad
(
mtr
);
ut_ad
(
mutex_own
(
&
rseg
->
mutex
));
if
(
undo
->
id
>=
TRX_RSEG_N_SLOTS
)
{
fprintf
(
stderr
,
"InnoDB: Error: undo->id is %lu
\n
"
,
...
...
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