Skip to content

Commit

Permalink
plan: support subquery in Do statement (pingcap#8343)
Browse files Browse the repository at this point in the history
  • Loading branch information
eurekaka committed Mar 25, 2019
1 parent 5d43df0 commit b56b2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planner/core/physical_plan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ func (s *testPlanSuite) TestDoSubquery(c *C) {
comment := Commentf("for %s", tt.sql)
stmt, err := s.ParseOneStmt(tt.sql, "", "")
c.Assert(err, IsNil, comment)
p, err := planner.Optimize(se, stmt, s.is)
p, err := core.Optimize(se, stmt, s.is)
c.Assert(err, IsNil)
c.Assert(core.ToString(p), Equals, tt.best, comment)
}
Expand Down

0 comments on commit b56b2da

Please sign in to comment.