diff options
author | unknown <guilhem@mysql.com> | 2003-04-03 20:19:13 +0200 |
---|---|---|
committer | unknown <guilhem@mysql.com> | 2003-04-03 20:19:13 +0200 |
commit | e8c9045eebb2aed64e795936bc4cb915b20b8d37 (patch) | |
tree | 0bad11bc49d81e85aef878a86780d22d765bf152 | |
parent | 36140349a40dac10792bc8077a3f318d61e8411b (diff) | |
download | mariadb-git-e8c9045eebb2aed64e795936bc4cb915b20b8d37.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).
-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) |