-
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
*: use AllSchemaNames to replace AllSchemas #51436
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #51436 +/- ##
================================================
+ Coverage 72.5069% 72.8133% +0.3064%
================================================
Files 1464 1464
Lines 362691 436442 +73751
================================================
+ Hits 262976 317788 +54812
- Misses 80359 98693 +18334
- Partials 19356 19961 +605
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/retest |
pkg/infoschema/infoschema.go
Outdated
@@ -43,6 +43,7 @@ type InfoSchema interface { | |||
SchemaByID(id int64) (*model.DBInfo, bool) | |||
TableByID(id int64) (table.Table, bool) | |||
AllSchemas() []*model.DBInfo |
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.
Can we remove this API now?
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.
Still have some usages. I will remove them after this PR.
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
[LGTM Timeline notifier]Timeline:
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 3pointer, easonn7, tiancaiamao, ywqzzy 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 |
/retest |
What problem does this PR solve?
Issue Number: ref #50959
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.