-
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
planner, executor: return TableDual in tryFastPlan for predicate like handlePK=1.1 #10716
Conversation
… handlePK=non-int-const
/run-all-tests |
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
executor/executor_test.go
Outdated
@@ -3857,6 +3857,22 @@ func (s *testSuite) TestIssue10448(c *C) { | |||
tk.MustQuery("desc select * from t where pk = 9223372036854775808").Check(testkit.Rows("Point_Get_1 1.00 root table:t, handle:9223372036854775808")) | |||
} | |||
|
|||
func (s *testSuite) TestIssue10677(c *C) { |
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.
maybe it's more proper to move this test to testPointGetSuite
Codecov Report
@@ Coverage Diff @@
## master #10716 +/- ##
================================================
+ Coverage 79.6677% 79.6816% +0.0139%
================================================
Files 414 414
Lines 87811 87827 +16
================================================
+ Hits 69957 69982 +25
+ Misses 12674 12667 -7
+ Partials 5180 5178 -2 |
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 |
What problem does this PR solve?
Fix #10677
What is changed and how it works?
Return TableDual when the predicate is
PKIsHandle = 1.1
.Check List
Tests
Code changes
Side effects
N/A
Related changes