-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
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
parser: Fix undocumented password_func function | tidb-test=pr/2458 #58312
Conversation
Hi @dveeden. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/check-issue-triage-complete |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #58312 +/- ##
================================================
+ Coverage 73.5693% 73.8616% +0.2923%
================================================
Files 1680 1710 +30
Lines 463726 471136 +7410
================================================
+ Hits 341160 347989 +6829
+ Misses 101733 101619 -114
- Partials 20833 21528 +695
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/retest |
@dveeden: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/ok-to-test |
MySQL has removed this function and in TiDB it has been deprecated. I'm ok to remove Note that See also this from the diff: diff --git a/pkg/parser/parser_test.go b/pkg/parser/parser_test.go
index 7e60aaabb4..d5601e6915 100644
--- a/pkg/parser/parser_test.go
+++ b/pkg/parser/parser_test.go
@@ -2258 +2258 @@ func TestBuiltin(t *testing.T) {
- {`SELECT PASSWORD(@str);`, true, "SELECT PASSWORD_FUNC(@`str`)"},
+ {`SELECT PASSWORD(@str);`, true, "SELECT PASSWORD(@`str`)"}, So running |
[LGTM Timeline notifier]Timeline:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
our doc also contains password_func
, see https://docs.pingcap.com/tidb/stable/sql-statement-show-builtins, this pr breaks this, but seems trivial
rest lgtm
I won't really call this documentation as it is just example output of The output of With v8.4.0
With this PR:
|
/approve |
/hold feel free to unhold after you discuss with frank |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the corresponding documentation at the same time. The rest LGTM.
@Frank945946: adding LGTM is restricted to approvers and reviewers in OWNERS files. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/unhold |
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: D3Hunter, Defined2014, Frank945946, mjonss, XuHuaiyu The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What problem does this PR solve?
Issue Number: close #58311
Problem Summary:
What changed and how does it work?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.