Skip to content

Commit

Permalink
remove the last_plan_from_cache check
Browse files Browse the repository at this point in the history
  • Loading branch information
Reminiscent committed Nov 25, 2021
1 parent 7ebb999 commit 89d32f3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions executor/prepared_serial_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -706,11 +706,6 @@ func TestPlanCacheOperators(t *testing.T) {

// execute this statement and check whether it uses a cached plan
results := tk.MustQuery("execute stmt " + usingStmt).Sort().Rows()
useCache := "0"
if execCase.UseCache {
useCache = "1"
}
tk.MustQuery("select @@last_plan_from_cache").Check(testkit.Rows(useCache))

// check whether the result is correct
tmp := strings.Split(prepCase.PrepStmt, "?")
Expand Down

0 comments on commit 89d32f3

Please sign in to comment.