Skip to content

Commit

Permalink
executor: fix TestPrevStmtDesensitization (pingcap#20680)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunRunAway authored Oct 28, 2020
1 parent b2e6df0 commit fd85234
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions executor/executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6447,6 +6447,7 @@ func (s *testSerialSuite) TestPrevStmtDesensitization(c *C) {
tk := testkit.NewTestKit(c, s.store)
tk.MustExec("use test;")
tk.MustExec(fmt.Sprintf("set @@session.%v=1", variable.TiDBRedactLog))
defer tk.MustExec(fmt.Sprintf("set @@session.%v=0", variable.TiDBRedactLog))
tk.MustExec("drop table if exists t")
tk.MustExec("create table t (a int, unique key (a))")
tk.MustExec("begin")
Expand Down

0 comments on commit fd85234

Please sign in to comment.