Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
  • Loading branch information
hawkingrei committed Aug 17, 2023
1 parent 657c8d9 commit aa3e0f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion executor/union_scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ func (us *UnionScanExec) getOneRow(ctx context.Context) ([]types.Datum, error) {
} else if snapshotRow == nil {
row = addedRow
} else {
isSnapshotRow, err = us.compare(us.Ctx().GetSessionVars().StmtCtx, snapshotRow, addedRow)
isSnapshotRowInt, err := us.compare(us.Ctx().GetSessionVars().StmtCtx, snapshotRow, addedRow)
isSnapshotRow = isSnapshotRowInt > 0
if err != nil {
return nil, err
}
Expand Down

0 comments on commit aa3e0f2

Please sign in to comment.