Commit 8b6467ce authored by marko's avatar marko

branches/zip: trx_rollback_or_clean_all_without_sess(): Rename to

trx_rollback_or_clean_all_recovered().
parent 261a999b
......@@ -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
......
......@@ -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);
}
}
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment