mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Don't give warning about usage of --language with full path
Only give warning if warnings > 2, as there is no plan to change the current behavior.
This commit is contained in:
parent
f10fae7e4f
commit
a1e0e64a47
1 changed files with 5 additions and 2 deletions
|
@ -213,8 +213,11 @@ static File open_error_msg_file(const char *file_name, const char *language,
|
|||
O_RDONLY | O_SHARE | O_BINARY,
|
||||
MYF(0))) < 0)
|
||||
goto err;
|
||||
sql_print_warning("An old style --language or -lc-message-dir value with language specific part detected: %s", lc_messages_dir);
|
||||
sql_print_warning("Use --lc-messages-dir without language specific part instead.");
|
||||
if (global_system_variables.log_warnings > 2)
|
||||
{
|
||||
sql_print_warning("An old style --language or -lc-message-dir value with language specific part detected: %s", lc_messages_dir);
|
||||
sql_print_warning("Use --lc-messages-dir without language specific part instead.");
|
||||
}
|
||||
}
|
||||
error_pos=1;
|
||||
if (mysql_file_read(file, (uchar*) head, 32, MYF(MY_NABP)))
|
||||
|
|
Loading…
Reference in a new issue