We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The formatting of some errors is wrong, causing a %!s(MISSING) to be added to the message
%!s(MISSING)
SELECT JSON_MERGE('{"a": 5}', '{"foo": "bar"}'); SELECT PASSWORD('secret');
tidb> SELECT JSON_MERGE('{"a": 5}', '{"foo": "bar"}'); +------------------------------------------+ | JSON_MERGE('{"a": 5}', '{"foo": "bar"}') | +------------------------------------------+ | {"a": 5, "foo": "bar"} | +------------------------------------------+ 1 row in set, 1 warning (0.00 sec) Warning (Code 1681): JSON_MERGE is deprecated and will be removed in a future release. tidb> SELECT PASSWORD('secret'); +-------------------------------------------+ | PASSWORD('secret') | +-------------------------------------------+ | *14E65567ABDB5135D0CFD9A70B3032C179A49EE7 | +-------------------------------------------+ 1 row in set, 1 warning (0.01 sec) Warning (Code 1681): PASSWORD is deprecated and will be removed in a future release.
tidb> SELECT JSON_MERGE('{"a": 5}', '{"foo": "bar"}'); +------------------------------------------+ | JSON_MERGE('{"a": 5}', '{"foo": "bar"}') | +------------------------------------------+ | {"a": 5, "foo": "bar"} | +------------------------------------------+ 1 row in set, 1 warning (0.00 sec) Warning (Code 1681): JSON_MERGE is deprecated and will be removed in a future release.%!s(MISSING) tidb> SELECT PASSWORD('secret'); +-------------------------------------------+ | PASSWORD('secret') | +-------------------------------------------+ | *14E65567ABDB5135D0CFD9A70B3032C179A49EE7 | +-------------------------------------------+ 1 row in set, 1 warning (0.01 sec) Warning (Code 1681): PASSWORD is deprecated and will be removed in a future release.%!s(MISSING)
Release Version: v8.1.0-alpha-81-g572e5c48d9 Edition: Community Git Commit Hash: 572e5c48d98aac762fbfb3966e329cf5201bcca0 Git Branch: master UTC Build Time: 2024-04-11 13:34:48 GoVersion: go1.21.9 Race Enabled: false Check Table Before Drop: false Store: unistore
The text was updated successfully, but these errors were encountered:
Looks like a regression introduced by #46759
Sorry, something went wrong.
expression: Fix formatting of deprecation warnings (#52516)
73131c0
close #52515
expression: Fix formatting of deprecation warnings (pingcap#52516)
4508b49
close pingcap#52515
dveeden
Successfully merging a pull request may close this issue.
Bug Report
The formatting of some errors is wrong, causing a
%!s(MISSING)
to be added to the message1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: