mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-29582 post-review fixes
don't include my_progname in the error message, my_error starts from it automatically, resulting in, like /usr/bin/mysqladmin: Notice: /usr/bin/mysqladmin is deprecated and will be removed in a future release, use command 'mariadb-admin' and remove "Notice" so that the problem description would directly follow the executable name. make the check to work when the executable is in the PATH (so, invoked simply like 'mysql' and thus readlink cannot find it) fix the check in mysql_install_db and mysql_secure_installation to not print the warning if the intermediate path contains "mysql" substring add this message also to * mysql_waitpid * mysql_convert_table_format * mysql_find_rows * mysql_setpermissions * mysqlaccess * mysqld_multi * mysqld_safe * mysqldumpslow * mysqlhotcopy * mysql_ldb Closes #2273
This commit is contained in:
@@ -32,6 +32,8 @@ BEGIN {
|
||||
$script = 'MySQLAccess' unless $script;
|
||||
$script_conf = "$script.conf";
|
||||
$script_log = $ENV{'HOME'}."/$script.log";
|
||||
warn "$0: Deprecated program name. It will be removed in a future release, use 'mariadb-access' instead\n"
|
||||
if $0 =~ m/mysqlaccess$/;
|
||||
|
||||
# ****************************
|
||||
# information on MariaDB
|
||||
|
Reference in New Issue
Block a user