summaryrefslogtreecommitdiff
path: root/innobase/log/log0recv.c
diff options
context:
space:
mode:
authoringo@mysql.com <>2005-01-24 10:48:52 +0100
committeringo@mysql.com <>2005-01-24 10:48:52 +0100
commitc4a0eb142b36ccb492309c7ee2ebb143a1571f7f (patch)
tree4a89fa584fd149ed4a310e3398a8cea3f47258db /innobase/log/log0recv.c
parent12879fc30d4d3e9fd664c832ee618a2a15b58c9b (diff)
parent0a59f6aad012a1fd95fca7f7bc007ce0e1a83b62 (diff)
downloadmariadb-git-c4a0eb142b36ccb492309c7ee2ebb143a1571f7f.tar.gz
Merge mysql.com:/home/mydev/mysql-5.0
into mysql.com:/home/mydev/mysql-5.0-5000
Diffstat (limited to 'innobase/log/log0recv.c')
-rw-r--r--innobase/log/log0recv.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/innobase/log/log0recv.c b/innobase/log/log0recv.c
index 35dc9a06020..40a7deee604 100644
--- a/innobase/log/log0recv.c
+++ b/innobase/log/log0recv.c
@@ -2897,11 +2897,6 @@ recv_recovery_from_checkpoint_finish(void)
int i;
os_thread_id_t recovery_thread_id;
- /* Rollback the uncommitted transactions which have no user session */
-
- fprintf(stderr,
- "InnoDB: Starting to apply log records to the database...\n");
-
/* Apply the hashed log records to the respective file pages */
if (srv_force_recovery < SRV_FORCE_NO_LOG_REDO) {
@@ -2938,6 +2933,9 @@ recv_recovery_from_checkpoint_finish(void)
recv_sys_free();
#endif
if (srv_force_recovery < SRV_FORCE_NO_TRX_UNDO) {
+ /* Rollback the uncommitted transactions which have no user
+ session */
+
os_thread_create(trx_rollback_or_clean_all_without_sess,
(void *)&i, &recovery_thread_id);
}