Skip to content

Commit

Permalink
stable resultset
Browse files Browse the repository at this point in the history
Signed-off-by: you06 <you1474600@gmail.com>
  • Loading branch information
you06 authored and ti-chi-bot committed May 5, 2023
1 parent ac4b80d commit 9400220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions executor/stale_txn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1379,9 +1379,9 @@ func TestStalePrepare(t *testing.T) {
defer tk.MustExec("drop table if exists t")
tk.MustExec("create table t (id int)")

stmtID, _, _, err := tk.Session().PrepareStmt("select * from t as of timestamp now(3) - interval 1000 microsecond")
stmtID, _, _, err := tk.Session().PrepareStmt("select * from t as of timestamp now(3) - interval 1000 microsecond order by id asc")
require.Nil(t, err)
tk.MustExec("prepare stmt from \"select * from t as of timestamp now(3) - interval 1000 microsecond\"")
tk.MustExec("prepare stmt from \"select * from t as of timestamp now(3) - interval 1000 microsecond order by id asc\"")

var expected [][]interface{}
for i := 0; i < 20; i++ {
Expand Down

0 comments on commit 9400220

Please sign in to comment.