Skip to content

Commit

Permalink
Update expression/integration_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongjiwei authored Dec 15, 2021
1 parent f3e59e3 commit 74359d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions expression/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6896,8 +6896,10 @@ func TestIssue30326(t *testing.T) {
require.Error(t, err, "[executor:1242]Subquery returns more than 1 row")
}

func (s *testIntegrationSuite) TestIssue30174(c *C) {
tk := testkit.NewTestKit(c, s.store)
func TestIssue30174(t *testing.T) {
store, clean := testkit.CreateMockStore(t)
defer clean()
tk := testkit.NewTestKit(t, store)
tk.MustExec("use test")
tk.MustExec("drop table if exists t1,t2;")
tk.MustExec("CREATE TABLE `t1` (\n `c1` enum('Alice','Bob','Charlie','David') NOT NULL,\n `c2` blob NOT NULL,\n PRIMARY KEY (`c2`(5)),\n UNIQUE KEY `idx_89` (`c1`)\n);")
Expand Down

0 comments on commit 74359d3

Please sign in to comment.