You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: expression/integration_test.go
+30-1
Original file line number
Diff line number
Diff line change
@@ -4653,7 +4653,7 @@ func (s *testIntegrationSuite) TestFuncCaseWithLeftJoin(c *C) {
4653
4653
tk.MustQuery("select t1.id from kankan1 t1 left join kankan2 t2 on t1.id = t2.id where (case when t1.name='b' then 'case2' when t1.name='a' then 'case1' else NULL end) = 'case1' order by t1.id").Check(testkit.Rows("1", "2"))
@@ -4669,4 +4669,33 @@ func (s *testIntegrationSuite) TestIssue11309(c *C) {
4669
4669
tk.MustQuery(`SELECT DATE_ADD('2003-11-18 07:25:13',INTERVAL b MINUTE_SECOND) FROM t`).Check(testkit.Rows(`2004-03-13 03:14:52`, `2003-07-25 11:35:34`))
4670
4670
tk.MustQuery(`SELECT DATE_ADD('2003-11-18 07:25:13',INTERVAL c MINUTE_SECOND) FROM t`).Check(testkit.Rows(`2003-11-18 09:29:13`, `2003-11-18 05:21:13`))
4671
4671
tk.MustExec(`drop table if exists t;`)
4672
+
4673
+
// for https://github.com/pingcap/tidb/issues/11319
0 commit comments