executor: fix dead loop for indexMergeJoin in paging. (#35918)
executor: fix dead loop for indexMergeJoin in paging. (#35918)

close pingcap/tidb#35831
pingcap/tidb,ngaut/tidb,ngaut/tidb,pingcap/tidb,ngaut/tidb,ngaut/tidb,pingcap/tidb,pingcap/tidb,ngaut/tidb,pingcap/tidb,ngaut/tidb,pingcap/tidb