From aec41590f98a4158677f047603158c8182a59d46 Mon Sep 17 00:00:00 2001 From: Lynn Date: Sat, 7 Aug 2021 21:18:36 +0800 Subject: [PATCH] ddl: make TestCreateTableWithRangeColumnPartition stable --- ddl/db_partition_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddl/db_partition_test.go b/ddl/db_partition_test.go index 970400bf2bb62..05e7d50ea9c3c 100644 --- a/ddl/db_partition_test.go +++ b/ddl/db_partition_test.go @@ -590,7 +590,7 @@ create table log_message_1 ( tk.MustExec(`create table t(a binary) partition by range columns (a) (partition p0 values less than (X'0C'));`) tk.MustExec(`alter table t add partition (partition p1 values less than (X'0D'), partition p2 values less than (X'0E'));`) tk.MustExec(`insert into t values (X'0B'), (X'0C'), (X'0D')`) - tk.MustQuery(`select * from t where a < X'0D'`).Check(testkit.Rows("\x0B", "\x0C")) + tk.MustQuery(`select * from t where a < X'0D' order by a`).Check(testkit.Rows("\x0B", "\x0C")) } func (s *testIntegrationSuite1) TestDisableTablePartition(c *C) {