diff options
author | Magne Mahre <magne.mahre@sun.com> | 2010-01-21 09:10:05 +0100 |
---|---|---|
committer | Magne Mahre <magne.mahre@sun.com> | 2010-01-21 09:10:05 +0100 |
commit | 0482b6ebca43fa168550005ecb7f94e3c0729923 (patch) | |
tree | 6398d800fa09267e40efa2878d9e026966142170 /client/mysqladmin.cc | |
parent | cdcf2ae9f93538f129c69952f565c4243b78059a (diff) | |
download | mariadb-git-0482b6ebca43fa168550005ecb7f94e3c0729923.tar.gz |
WL#5154 Remove deprecated 4.1 features
Several items said to be deprecated in the 4.1 manual
have never been removed. This worklog adds deprecation
warnings when these items are used, and warns the user
that the items will be removed in MySQL 5.6.
A couple of previously deprecation decision have been
reversed (see single file comments)
Diffstat (limited to 'client/mysqladmin.cc')
-rw-r--r-- | client/mysqladmin.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc index 2b93c149523..04e25fcf1ff 100644 --- a/client/mysqladmin.cc +++ b/client/mysqladmin.cc @@ -282,6 +282,9 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), charsets_dir = argument; #endif break; + case 'O': + WARN_DEPRECATED(VER_CELOSIA, "--set-variable", "--variable-name=value"); + break; case OPT_MYSQL_PROTOCOL: opt_protocol= find_type_or_exit(argument, &sql_protocol_typelib, opt->name); |