diff options
author | guilhem@mysql.com <> | 2003-04-03 20:19:13 +0200 |
---|---|---|
committer | guilhem@mysql.com <> | 2003-04-03 20:19:13 +0200 |
commit | 8611c34e5e08a5c92e84deaf86b74e5af448f7d0 (patch) | |
tree | 0bad11bc49d81e85aef878a86780d22d765bf152 /sql/log.cc | |
parent | cbd11df29755bfb6210497b7a1f99ed287dfdb6b (diff) | |
download | mariadb-git-8611c34e5e08a5c92e84deaf86b74e5af448f7d0.tar.gz |
Explicit message to warn that logging (e.g. binary) is permanently turned off
because of writing problems (such message would have been useful during a recent
support task).
Diffstat (limited to 'sql/log.cc')
-rw-r--r-- | sql/log.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/log.cc b/sql/log.cc index 1e903613300..2106cd9c3db 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -310,7 +310,10 @@ bool MYSQL_LOG::open(const char *log_name, enum_log_type log_type_arg, DBUG_RETURN(0); err: - sql_print_error("Could not use %s for logging (error %d)", log_name, errno); + sql_print_error("Could not use %s for logging (error %d). \ +Turning logging off for the whole duration of the MySQL server process. \ +To turn it on again: fix the cause, \ +shutdown the MySQL server and restart it.", log_name, errno); if (file >= 0) my_close(file,MYF(0)); if (index_file_nr >= 0) |