1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-05 13:16:09 +03:00

MDEV-29582 deprecate mysql* names

Eventually mysql symlinks will go away, as MariaDB and MySQL keep
diverging and we do not want to make it impossible to install
MariaDB and MySQL side-by-side when users want it.

It also useful if people start using MariaDB tools with MariaDB.

If the exe doesn't begine with "mariadb" or is a symlink,
print a warning to use the resolved name.

In my_readlink, add check on my_thread_var as its used by comp_err
and other build utils that also use my_init.
This commit is contained in:
Daniel Black
2022-09-21 11:10:05 +10:00
committed by Sergei Golubchik
parent ce4a289f1c
commit b30b040b73
6 changed files with 31 additions and 4 deletions

View File

@@ -29,6 +29,12 @@ defaults_file=
defaults_extra_file=
no_defaults=
case "$0" in
*mysql*)
echo "Notice: $0 is deprecated and will be removed in a future release, use command mariadb-secure-installation" 1>&2
;;
esac
parse_arg()
{
echo "$1" | sed -e 's/^[^=]*=//'