diff options
Diffstat (limited to 'innobase/log/log0recv.c')
-rw-r--r-- | innobase/log/log0recv.c | 8 |
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); } |