diff --git a/expression/integration_test.go b/expression/integration_test.go index 2fa88c03c8668..27936818eb1d4 100644 --- a/expression/integration_test.go +++ b/expression/integration_test.go @@ -6284,7 +6284,11 @@ func (s *testIntegrationSerialSuite) TestCollationBasic(c *C) { tk.MustExec("drop table if exists t") tk.MustExec("create table t(c set('A', 'B') collate utf8mb4_general_ci);") tk.MustExec("insert into t values('a');") - tk.MustQuery("select c from t1 where c = 'a';").Check(testkit.Rows("A")) + tk.MustExec("insert into t values('B');") + tk.MustQuery("select c from t where c = 'a';").Check(testkit.Rows("A")) + tk.MustQuery("select c from t where c = 'A';").Check(testkit.Rows("A")) + tk.MustQuery("select c from t where c = 'b';").Check(testkit.Rows("B")) + tk.MustQuery("select c from t where c = 'B';").Check(testkit.Rows("B")) } func (s *testIntegrationSerialSuite) TestWeightString(c *C) {