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
8b6467ce
Commit
8b6467ce
authored
Oct 30, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: trx_rollback_or_clean_all_without_sess(): Rename to
trx_rollback_or_clean_all_recovered().
parent
261a999b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
+13
-11
include/trx0roll.h
include/trx0roll.h
+6
-5
log/log0recv.c
log/log0recv.c
+1
-1
trx/trx0roll.c
trx/trx0roll.c
+6
-5
No files found.
include/trx0roll.h
View file @
8b6467ce
...
...
@@ -102,14 +102,15 @@ trx_rollback(
calling function can start running
a new query thread */
/***********************************************************************
Rollback or clean up transactions which have no user session. If the
transaction already was committed, then we clean up a possible insert
undo log. If the transaction was not yet committed, then we roll it back.
Rollback or clean up any incomplete transactions which were
encountered in crash recovery. If the transaction already was
committed, then we clean up a possible insert undo log. If the
transaction was not yet committed, then we roll it back.
Note: this is done in a background thread. */
os_thread_ret_t
trx_rollback_or_clean_all_
without_sess
(
/*================================
===
*/
trx_rollback_or_clean_all_
recovered
(
/*================================*/
/* out: a dummy parameter */
void
*
arg
__attribute__
((
unused
)));
/* in: a dummy parameter required by
...
...
log/log0recv.c
View file @
8b6467ce
...
...
@@ -2949,7 +2949,7 @@ recv_recovery_from_checkpoint_finish(void)
/* Rollback the uncommitted transactions which have no user
session */
os_thread_create
(
trx_rollback_or_clean_all_
without_sess
,
os_thread_create
(
trx_rollback_or_clean_all_
recovered
,
(
void
*
)
&
i
,
NULL
);
}
}
...
...
trx/trx0roll.c
View file @
8b6467ce
...
...
@@ -510,14 +510,15 @@ trx_rollback_active(
}
/***********************************************************************
Rollback or clean up transactions which have no user session. If the
transaction already was committed, then we clean up a possible insert
undo log. If the transaction was not yet committed, then we roll it back.
Rollback or clean up any incomplete transactions which were
encountered in crash recovery. If the transaction already was
committed, then we clean up a possible insert undo log. If the
transaction was not yet committed, then we roll it back.
Note: this is done in a background thread. */
os_thread_ret_t
trx_rollback_or_clean_all_
without_sess
(
/*================================
===
*/
trx_rollback_or_clean_all_
recovered
(
/*================================*/
/* out: a dummy parameter */
void
*
arg
__attribute__
((
unused
)))
/* in: a dummy parameter required by
...
...
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