Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
qw4990 committed Mar 30, 2023
1 parent df7d8fc commit 3a3e0e1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions executor/prepared_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1216,12 +1216,6 @@ func TestIgnoreInsertStmt(t *testing.T) {
tk.MustExec("use test")
tk.MustExec("create table t (a int)")

// do not cache native insert-stmt
tk.MustExec("prepare st from 'insert into t values (1)'")
tk.MustExec("execute st")
tk.MustExec("execute st")
tk.MustQuery("select @@last_plan_from_cache").Check(testkit.Rows("0"))

// ignore-hint in insert-stmt can work
tk.MustExec("prepare st from 'insert into t select * from t'")
tk.MustExec("execute st")
Expand Down

0 comments on commit 3a3e0e1

Please sign in to comment.