diff options
author | unknown <heikki@donna.mysql.fi> | 2001-05-24 22:35:14 +0300 |
---|---|---|
committer | unknown <heikki@donna.mysql.fi> | 2001-05-24 22:35:14 +0300 |
commit | b6098186662faaef749577b027d49c928a80fa2e (patch) | |
tree | 6d16da7ee7c62f996ff34bdabd1a7f6e820d7f9c /innobase/srv/srv0start.c | |
parent | 32d369378e4292a5d859f6edea95f6a396013dfc (diff) | |
download | mariadb-git-b6098186662faaef749577b027d49c928a80fa2e.tar.gz |
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
Diffstat (limited to 'innobase/srv/srv0start.c')
-rw-r--r-- | innobase/srv/srv0start.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/innobase/srv/srv0start.c b/innobase/srv/srv0start.c index 29ddf2a21c8..b584b663e43 100644 --- a/innobase/srv/srv0start.c +++ b/innobase/srv/srv0start.c @@ -813,7 +813,8 @@ innobase_start_or_create_for_mysql(void) /* Create the thread which watches the timeouts for lock waits */ os_thread_create(&srv_lock_timeout_monitor_thread, NULL, thread_ids + 2 + SRV_MAX_N_IO_THREADS); - fprintf(stderr, "InnoDB: Started\n"); + ut_print_timestamp(stderr); + fprintf(stderr, " InnoDB: Started\n"); srv_was_started = TRUE; srv_is_being_started = FALSE; @@ -835,8 +836,9 @@ innobase_shutdown_for_mysql(void) { if (!srv_was_started) { if (srv_is_being_started) { + ut_print_timestamp(stderr); fprintf(stderr, - "InnoDB: Warning: shutting down not properly started database\n"); + " InnoDB: Warning: shutting down a not properly started database\n"); } return(DB_SUCCESS); } |