Skip to content

Commit

Permalink
Merge branch 'master' into feat-ignore-lock-for-temp-table
Browse files Browse the repository at this point in the history
  • Loading branch information
mmyj authored May 11, 2021
2 parents 7f5c374 + 81ce996 commit 7f27c38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions session/session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4296,6 +4296,8 @@ func (s *testSessionSuite3) TestGlobalTemporaryTable(c *C) {
tk.MustQuery("select c from g_tmp where b = 3").Check(testkit.Rows("3"))
// Cover point get.
tk.MustQuery("select * from g_tmp where a = 3").Check(testkit.Rows("3 3 3"))
// Cover batch point get.
tk.MustQuery("select * from g_tmp where a in (2,3,4)").Check(testkit.Rows("3 3 3", "4 7 9"))
tk.MustExec("commit")

// The global temporary table data is discard after the transaction commit.
Expand Down

0 comments on commit 7f27c38

Please sign in to comment.