From 95d4eba4ebb2edb157d90255a270d6748840740b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=C5=BE=20Jerman?= Date: Thu, 22 Sep 2022 12:32:08 +0200 Subject: [PATCH] Fix limit condition lapsus in DAL pipeline join --- pkg/dal/exec_join_left.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/dal/exec_join_left.go b/pkg/dal/exec_join_left.go index d5f1d2907..2e7b4a7c0 100644 --- a/pkg/dal/exec_join_left.go +++ b/pkg/dal/exec_join_left.go @@ -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 }