diff options
author | unknown <heikki@hundin.mysql.fi> | 2005-01-21 23:47:44 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2005-01-21 23:47:44 +0200 |
commit | fcd09022662a2d1f7c393fac3a8d4938edeb98f4 (patch) | |
tree | 6368cd0a9c9f497194d9b34a62cda361b13a0012 /innobase | |
parent | 531065373a85334a87f839ce20ccb9c8bd346e08 (diff) | |
download | mariadb-git-fcd09022662a2d1f7c393fac3a8d4938edeb98f4.tar.gz |
log0recv.c:
Remove superfluous fprintf about log record application in InnoDB startup
innobase/log/log0recv.c:
Remove superfluous fprintf about log record application in InnoDB startup
Diffstat (limited to 'innobase')
-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); } |