From c03f3e59f2097c3f14bb9cb214eb6ddfadec2992 Mon Sep 17 00:00:00 2001 From: Johannes Kalmbach Date: Wed, 8 Jan 2025 09:34:56 +0100 Subject: [PATCH] Fix another bug. Signed-off-by: Johannes Kalmbach --- src/engine/ExistsScan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/ExistsScan.cpp b/src/engine/ExistsScan.cpp index 26fde1298..c416d1dc4 100644 --- a/src/engine/ExistsScan.cpp +++ b/src/engine/ExistsScan.cpp @@ -96,8 +96,8 @@ ProtoResult ExistsScan::computeResult([[maybe_unused]] bool requestLaziness) { // TODO 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) { return (stdr::any_of(joinColumnsRight.getColumn(col),