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:
committed by
Sergei Golubchik
parent
ce4a289f1c
commit
b30b040b73
@@ -46,6 +46,12 @@ extra_file=""
|
||||
dirname0=`dirname $0 2>/dev/null`
|
||||
dirname0=`dirname $dirname0 2>/dev/null`
|
||||
|
||||
case "$0" in
|
||||
*mysql*)
|
||||
echo "Notice: $0 is deprecated and will be removed in a future release, use command mariadb-install-db" 1>&2
|
||||
;;
|
||||
esac
|
||||
|
||||
usage()
|
||||
{
|
||||
cat <<EOF
|
||||
|
Reference in New Issue
Block a user