From c13a81023068c15d7b35c545987c83ae0fb2d166 Mon Sep 17 00:00:00 2001 From: tiancaiamao Date: Thu, 20 Oct 2022 12:31:54 +0800 Subject: [PATCH] executor: fix TestIssue36903 which does not check result (#38565) --- executor/union_scan_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/executor/union_scan_test.go b/executor/union_scan_test.go index 9daac82604108..ecc3e0b6bbbfd 100644 --- a/executor/union_scan_test.go +++ b/executor/union_scan_test.go @@ -544,7 +544,7 @@ func TestIssue36903(t *testing.T) { tk.MustExec("insert into t_vwvgdc values (2, 15000, 61.75);") tk.MustExec("BEGIN OPTIMISTIC;") tk.MustExec("insert into t_vwvgdc (wkey, pkey, c_rdsfbc) values (155, 228000, 99.50);") - tk.MustQuery("select pkey from t_vwvgdc where 0 <> 0 union select pkey from t_vwvgdc;") + tk.MustQuery("select pkey from t_vwvgdc where 0 <> 0 union select pkey from t_vwvgdc;").Sort().Check(testkit.Rows("15000", "228000")) } func BenchmarkUnionScanRead(b *testing.B) {