Skip to content

Commit

Permalink
Fix another bug.
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Kalmbach <[email protected]>
  • Loading branch information
joka921 committed Jan 8, 2025
1 parent 7ec8947 commit c03f3e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/ExistsScan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ ProtoResult ExistsScan::computeResult([[maybe_unused]] bool requestLaziness) {
// TODO<joka921> There are many other cases where a cheaper implementation can
// be chosen, but we leave those for another PR, this is the most common case.
namespace stdr = ql::ranges;
size_t numJoinColumns = joinColumnsLeft.size();
AD_CORRECTNESS_CHECK(numJoinColumns == joinColumnsRight.size());
size_t numJoinColumns = joinColumnsLeft.numColumns();
AD_CORRECTNESS_CHECK(numJoinColumns == joinColumnsRight.numColumns());
bool isCheap = stdr::none_of(
ad_utility::integerRange(numJoinColumns), [&](const auto& col) {

Check warning on line 102 in src/engine/ExistsScan.cpp

View check run for this annotation

Codecov / codecov/patch

src/engine/ExistsScan.cpp#L98-L102

Added lines #L98 - L102 were not covered by tests
return (stdr::any_of(joinColumnsRight.getColumn(col),
Expand Down

0 comments on commit c03f3e5

Please sign in to comment.