Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
qw4990 committed Dec 10, 2019
1 parent 21e2f11 commit b489aae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion executor/explain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ func (s *testSuite1) TestMemoryUsageAfterClose(c *C) {
tk := testkit.NewTestKitWithInit(c, s.store)
tk.MustExec("drop table if exists t")
tk.MustExec("create table t (v int, k int, key(k))")
tk.MustExec("insert into t values (1, 1), (1, 1), (1, 1), (1, 1), (1, 1)")
for i := 0; i < tk.Se.GetSessionVars().MaxChunkSize*5; i++ {
tk.MustExec(fmt.Sprintf("insert into t values (%v, %v)", i, i))
}
SQLs := []string{"select v+abs(k) from t"}
for _, sql := range SQLs {
tk.MustQuery(sql)
Expand Down

0 comments on commit b489aae

Please sign in to comment.