Skip to content

Commit 1608439

Browse files
fix: fix the wrong error return value (#533)
Signed-off-by: drawdrop <[email protected]> Co-authored-by: drawdrop <[email protected]>
1 parent 467ab0a commit 1608439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/stackql/planbuilder/plan_builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ func (pgb *standardPlanGraphBuilder) handleSelect(
537537
}
538538
pr, prErr := primitivebuilder.NewLocalSelectExecutor(handlerCtx, node, util.DefaultRowSort, colz)
539539
if prErr != nil {
540-
return nil, nil, err
540+
return nil, nil, prErr
541541
}
542542
rv := pgb.planGraphHolder.CreatePrimitiveNode(pr)
543543
return rv, rv, nil

0 commit comments

Comments
 (0)