Skip to content

Commit

Permalink
executor: fix TestIssue36903 which does not check result (#38565)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiancaiamao authored Oct 20, 2022
1 parent 17c7bcc commit c13a810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/union_scan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c13a810

Please sign in to comment.