From a0263e86615eeb3c8c918f83710b55924f8b8780 Mon Sep 17 00:00:00 2001 From: "heikki@hundin.mysql.fi" <> Date: Fri, 21 Jan 2005 23:47:44 +0200 Subject: [PATCH] log0recv.c: Remove superfluous fprintf about log record application in InnoDB startup --- innobase/log/log0recv.c | 8 +++----- 1 file 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); }