mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
log0log.c InnoDB now prints timestamp at startup and shutdown
srv0start.c InnoDB now prints timestamp at startup and shutdown ut0ut.h InnoDB now prints timestamp at startup and shutdown ut0ut.c InnoDB now prints timestamp at startup and shutdown innobase/ut/ut0ut.c: InnoDB now prints timestamp at startup and shutdown innobase/include/ut0ut.h: InnoDB now prints timestamp at startup and shutdown innobase/srv/srv0start.c: InnoDB now prints timestamp at startup and shutdown innobase/log/log0log.c: InnoDB now prints timestamp at startup and shutdown
This commit is contained in:
parent
32d369378e
commit
b609818666
4 changed files with 53 additions and 5 deletions
|
|
@ -2634,8 +2634,9 @@ logs_empty_and_mark_files_at_shutdown(void)
|
|||
{
|
||||
dulint lsn;
|
||||
ulint arch_log_no;
|
||||
|
||||
fprintf(stderr, "InnoDB: Starting shutdown...\n");
|
||||
|
||||
ut_print_timestamp(stderr);
|
||||
fprintf(stderr, " InnoDB: Starting shutdown...\n");
|
||||
|
||||
/* Wait until the master thread and all other operations are idle: our
|
||||
algorithm only works if the server is idle at shutdown */
|
||||
|
|
@ -2725,7 +2726,8 @@ loop:
|
|||
|
||||
fil_flush_file_spaces(FIL_TABLESPACE);
|
||||
|
||||
fprintf(stderr, "InnoDB: Shutdown completed\n");
|
||||
ut_print_timestamp(stderr);
|
||||
fprintf(stderr, " InnoDB: Shutdown completed\n");
|
||||
}
|
||||
|
||||
/**********************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue