diff options
Diffstat (limited to 'innobase/log/log0log.c')
-rw-r--r-- | innobase/log/log0log.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/innobase/log/log0log.c b/innobase/log/log0log.c index cb85e9d3ba6..c798a08e2de 100644 --- a/innobase/log/log0log.c +++ b/innobase/log/log0log.c @@ -2111,7 +2111,7 @@ log_group_archive( os_file_t file_handle; dulint start_lsn; dulint end_lsn; - char name[100]; + char name[1024]; byte* buf; ulint len; ibool ret; @@ -2903,9 +2903,11 @@ logs_empty_and_mark_files_at_shutdown(void) dulint lsn; ulint arch_log_no; - ut_print_timestamp(stderr); - fprintf(stderr, " InnoDB: Starting shutdown...\n"); - + if (srv_print_verbose_log) + { + 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 */ @@ -3010,8 +3012,11 @@ loop: fil_flush_file_spaces(FIL_TABLESPACE); - ut_print_timestamp(stderr); - fprintf(stderr, " InnoDB: Shutdown completed\n"); + if (srv_print_verbose_log) + { + ut_print_timestamp(stderr); + fprintf(stderr, " InnoDB: Shutdown completed\n"); + } } /********************************************************** |