From 5725da30d7cff221f1603d3f0b2346000c74fd51 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 31 Jan 2016 11:22:59 +0100 Subject: Don't always return after the first iteration --- common/typeindex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/typeindex.cpp b/common/typeindex.cpp index 03ad8f7..e58832c 100644 --- a/common/typeindex.cpp +++ b/common/typeindex.cpp @@ -111,9 +111,9 @@ ResultSet TypeIndex::query(const Sink::Query &query, QSet &appliedFi Warning() << "Error in index: " << error.message << property; }); appliedFilters << property; + Trace() << "Index lookup on " << property << " found " << keys.size() << " keys."; + return ResultSet(keys); } - Trace() << "Index lookup on " << property << " found " << keys.size() << " keys."; - return ResultSet(keys); } Trace() << "No matching index"; return ResultSet(keys); -- cgit v1.2.3