-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
*: support where in admin show ddl jobs statement #12484
Conversation
…into admin-show-where
Codecov Report
@@ Coverage Diff @@
## master #12484 +/- ##
================================================
- Coverage 80.2113% 79.8508% -0.3606%
================================================
Files 461 460 -1
Lines 106167 103483 -2684
================================================
- Hits 85158 82632 -2526
+ Misses 14909 14781 -128
+ Partials 6100 6070 -30 |
Co-Authored-By: bb7133 <bb7133@gmail.com>
Co-Authored-By: bb7133 <bb7133@gmail.com>
…into admin-show-where
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.
LGTM
go.mod
Outdated
@@ -78,3 +78,5 @@ require ( | |||
) | |||
|
|||
go 1.13 | |||
|
|||
replace github.com/pingcap/parser => github.com/crazycs520/parser v0.0.0-20190929091254-85344bdd5ae3 |
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.
Does the parser PR have merged?
@@ -456,7 +456,7 @@ func (s *testSuite) TestAdminShowDDLJobs(c *C) { | |||
err = tk.Se.CommitTxn(context.Background()) | |||
c.Assert(err, IsNil) | |||
|
|||
re = tk.MustQuery("admin show ddl jobs 1") |
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.
Prefer to add some case to admin show ddl jobs 1 where ...
instead of deleting the former case.
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.
LGTM
/run-all-tests |
/run-all-tests |
What problem does this PR solve?
*: support where in admin show ddl statement
Related parser PR: pingcap/parser#568
eg:
What is changed and how it works?
Check List
Tests
Code changes
Side effects
Release note
WHERE
clause inADMIN SHOW DDL JOBS
statement