mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
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).
This commit is contained in:
parent
cbd11df297
commit
8611c34e5e
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue