diff --git a/src/Interpreters/GinFilter.cpp b/src/Interpreters/GinFilter.cpp index 7a70ec32570..0ab1455c3ec 100644 --- a/src/Interpreters/GinFilter.cpp +++ b/src/Interpreters/GinFilter.cpp @@ -212,12 +212,7 @@ bool GinFilter::contains(const GinFilter & af, PostingsCacheForStore &cache_stor cache_store.cache[af.getMatchString()] = postings_cache; } - if (match(postings_cache)) - { - return true; - } - - return false; + return match(postings_cache); } const String& GinFilter::getName()