Skip to content

Commit

Permalink
add test case of other timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
sylzd committed Jul 5, 2021
1 parent 1c48aef commit 154565f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions executor/join_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2604,4 +2604,6 @@ func (s *testSuiteJoinSerial) TestIssue25902(c *C) {
tk.MustExec("insert into tt3 values (\"2001-01-01 00:00:00\");")
tk.MustQuery("select * from tt1 where ts in (select ts from tt2);").Check(testkit.Rows("2001-01-01 00:00:00"))
tk.MustQuery("select * from tt1 where ts in (select ts from tt3);").Check(testkit.Rows("2001-01-01 00:00:00"))
tk.MustExec("set @@session.time_zone = '+10:00';")
tk.MustQuery("select * from tt1 where ts in (select ts from tt2);").Check(testkit.Rows())
}

0 comments on commit 154565f

Please sign in to comment.