diff options
author | Martin Hansson <martin.hansson@oracle.com> | 2012-08-24 10:17:08 +0200 |
---|---|---|
committer | Martin Hansson <martin.hansson@oracle.com> | 2012-08-24 10:17:08 +0200 |
commit | 905e458433b826bee4c73ba49227e44050e7ec36 (patch) | |
tree | f1359d24de152fb5cf9bff589dee79d0124ab9f3 /mysql-test/r/func_analyse.result | |
parent | bb8d551f3ab6ab6903e91e8b1fffbc9e8b3d97b1 (diff) | |
download | mariadb-git-905e458433b826bee4c73ba49227e44050e7ec36.tar.gz |
Bug#14498355: DEPRECATION WARNINGS SHOULD NOT CONTAIN MYSQL VERSION
NUMBERS
If a system variable was declared as deprecated without mention of an
alternative, the message would look funny, e.g. for @@delayed_insert_limit:
Warning 1287 '@@delayed_insert_limit' is deprecated and
will be removed in MySQL .
The message was meant to display the version number, but it's not
possible to give one when declaring a system variable.
The fix does two things:
1) The definition of the message
ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT is changed so that it does
not display a version number. I.e. in English the message now reads:
Warning 1287 The syntax '@@delayed_insert_limit' is deprecated and
will be removed in a future version.
2) The message ER_WARN_DEPRECATED_SYNTAX_WITH_VER is discontinued in
favor of ER_WARN_DEPRECATED_SYNTAX for system variables. This change
was already done in versions 5.6 and above as part of wl#5265. This
part is simply back-ported from the worklog.
Diffstat (limited to 'mysql-test/r/func_analyse.result')
0 files changed, 0 insertions, 0 deletions