Skip to content

Commit

Permalink
adjust expected best plan of unit test, because emptry range scan is …
Browse files Browse the repository at this point in the history
…converted to TableDual
  • Loading branch information
eurekaka committed Sep 3, 2018
1 parent b1c1b24 commit 2aa9a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plan/cbo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ func (s *testAnalyzeSuite) TestPreparedNullParam(c *C) {
testKit.MustExec("insert into t values (1), (2), (3)")

sql := "select * from t where id = ?"
best := "IndexReader(Index(t.id)[])"
best := "Dual"

ctx := testKit.Se.(sessionctx.Context)
stmts, err := session.Parse(ctx, sql)
Expand Down

0 comments on commit 2aa9a99

Please sign in to comment.