diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-04 12:00:35 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-04 12:00:35 +0100 |
commit | 98b682acb8c57cadaea5ff0ac6709d21a591b97b (patch) | |
tree | 840d2c2ac681a7a45c7d011609327a7732fa2293 /common/datastorequery.cpp | |
parent | f4a22e49f23c930b244a1c7f33c7efb9e285750c (diff) | |
download | sink-98b682acb8c57cadaea5ff0ac6709d21a591b97b.tar.gz sink-98b682acb8c57cadaea5ff0ac6709d21a591b97b.zip |
Separated the base filter from the rest of the query.
Diffstat (limited to 'common/datastorequery.cpp')
-rw-r--r-- | common/datastorequery.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/datastorequery.cpp b/common/datastorequery.cpp index aa7b772..0987d68 100644 --- a/common/datastorequery.cpp +++ b/common/datastorequery.cpp | |||
@@ -400,8 +400,8 @@ QVector<QByteArray> DataStoreQuery::indexLookup(const QByteArray &property, cons | |||
400 | 400 | ||
401 | QByteArrayList DataStoreQuery::executeSubquery(const Query &subquery) | 401 | QByteArrayList DataStoreQuery::executeSubquery(const Query &subquery) |
402 | { | 402 | { |
403 | Q_ASSERT(!subquery.type.isEmpty()); | 403 | Q_ASSERT(!subquery.type().isEmpty()); |
404 | auto sub = DataStoreQuery(subquery, subquery.type, mStore); | 404 | auto sub = DataStoreQuery(subquery, subquery.type(), mStore); |
405 | auto result = sub.execute(); | 405 | auto result = sub.execute(); |
406 | QByteArrayList ids; | 406 | QByteArrayList ids; |
407 | while (result.next([&ids](const ResultSet::Result &result) { | 407 | while (result.next([&ids](const ResultSet::Result &result) { |