Skip to content

Commit

Permalink
Fix condition for skipping of values.
Browse files Browse the repository at this point in the history
  • Loading branch information
kenwenzel committed Aug 7, 2024
1 parent 0159ed9 commit a54de34
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,8 @@ private IExtendedIterator<KvinTuple> fetchInternal(List<URI> items, List<URI> pr

KvinTuple selectNextTuple() throws IOException {
boolean skipAfterLimit = limit != 0 && propertyValueCount >= limit;
if (skipAfterLimit && propertyIds.length == 1) {
if (skipAfterLimit && itemIds.length == 1 && propertyIds.length == 1) {
// we are finished, if only one item and one property is requested
return null;
}

Expand Down

0 comments on commit a54de34

Please sign in to comment.