3
0

Fix limit condition lapsus in DAL pipeline join

This commit is contained in:
Tomaž Jerman
2022-09-22 12:32:08 +02:00
parent 956547a893
commit 95d4eba4eb

View File

@@ -162,7 +162,7 @@ func (xs *joinLeft) ForwardCursor(v ValueGetter) (pc *filter.PagingCursor, err e
// next prepares the next scan row based on the defined join plan
func (xs *joinLeft) next(ctx context.Context) (more bool, err error) {
if !xs.limitExceeded() {
if xs.limitExceeded() {
return false, nil
}