Skip to content

Commit

Permalink
add ft
Browse files Browse the repository at this point in the history
  • Loading branch information
wshwsh12 committed Sep 4, 2023
1 parent 9efda49 commit ea1a62c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions expression/integration_test/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7846,3 +7846,16 @@ func TestIssue41733(t *testing.T) {
tk.MustQuery("show warnings").Check(testkit.Rows("Warning 1264 Out of range value for column 'c0' at row 1"))
tk.MustQuery("select * from t_big;").Check(testkit.Rows("18446744073709551615"))
}

func TestIssue45410(t *testing.T) {
store := testkit.CreateMockStore(t)
tk := testkit.NewTestKit(t, store)
tk.MustExec("create database testIssue45410")
defer tk.MustExec("drop database testIssue45410")
tk.MustExec("use testIssue45410")

tk.MustExec("DROP TABLE IF EXISTS t1;")
tk.MustExec("CREATE TABLE t1 (c1 TINYINT(1) UNSIGNED NOT NULL );")
tk.MustExec("INSERT INTO t1 VALUES (0);")
tk.MustQuery("SELECT c1>=CAST('-787360724' AS TIME) FROM t1;").Check(testkit.Rows("1"))
}

0 comments on commit ea1a62c

Please sign in to comment.