Commit 281d3966 authored by marko's avatar marko

branches/zip: trx_rollback_or_clean_all_without_sess(): Rename to

trx_rollback_or_clean_all_recovered().
parent b013f0d3
...@@ -102,14 +102,15 @@ trx_rollback( ...@@ -102,14 +102,15 @@ trx_rollback(
calling function can start running calling function can start running
a new query thread */ a new query thread */
/*********************************************************************** /***********************************************************************
Rollback or clean up transactions which have no user session. If the Rollback or clean up any incomplete transactions which were
transaction already was committed, then we clean up a possible insert encountered in crash recovery. If the transaction already was
undo log. If the transaction was not yet committed, then we roll it back. 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. */ Note: this is done in a background thread. */
os_thread_ret_t os_thread_ret_t
trx_rollback_or_clean_all_without_sess( trx_rollback_or_clean_all_recovered(
/*===================================*/ /*================================*/
/* out: a dummy parameter */ /* out: a dummy parameter */
void* arg __attribute__((unused))); void* arg __attribute__((unused)));
/* in: a dummy parameter required by /* in: a dummy parameter required by
......
...@@ -2949,7 +2949,7 @@ recv_recovery_from_checkpoint_finish(void) ...@@ -2949,7 +2949,7 @@ recv_recovery_from_checkpoint_finish(void)
/* Rollback the uncommitted transactions which have no user /* Rollback the uncommitted transactions which have no user
session */ session */
os_thread_create(trx_rollback_or_clean_all_without_sess, os_thread_create(trx_rollback_or_clean_all_recovered,
(void *)&i, NULL); (void *)&i, NULL);
} }
} }
......
...@@ -510,14 +510,15 @@ trx_rollback_active( ...@@ -510,14 +510,15 @@ trx_rollback_active(
} }
/*********************************************************************** /***********************************************************************
Rollback or clean up transactions which have no user session. If the Rollback or clean up any incomplete transactions which were
transaction already was committed, then we clean up a possible insert encountered in crash recovery. If the transaction already was
undo log. If the transaction was not yet committed, then we roll it back. 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. */ Note: this is done in a background thread. */
os_thread_ret_t os_thread_ret_t
trx_rollback_or_clean_all_without_sess( trx_rollback_or_clean_all_recovered(
/*===================================*/ /*================================*/
/* out: a dummy parameter */ /* out: a dummy parameter */
void* arg __attribute__((unused))) void* arg __attribute__((unused)))
/* in: a dummy parameter required by /* 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