diff options
Diffstat (limited to 'common/datastorequery.cpp')
-rw-r--r-- | common/datastorequery.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/datastorequery.cpp b/common/datastorequery.cpp index 3218d1a..50158c7 100644 --- a/common/datastorequery.cpp +++ b/common/datastorequery.cpp | |||
@@ -643,6 +643,7 @@ ResultSet DataStoreQuery::execute() | |||
643 | { | 643 | { |
644 | SinkTraceCtx(mLogCtx) << "Executing query"; | 644 | SinkTraceCtx(mLogCtx) << "Executing query"; |
645 | 645 | ||
646 | Q_ASSERT(mCollector); | ||
646 | ResultSet::ValueGenerator generator = [this](const ResultSet::Callback &callback) -> bool { | 647 | ResultSet::ValueGenerator generator = [this](const ResultSet::Callback &callback) -> bool { |
647 | if (mCollector->next([this, callback](const ResultSet::Result &result) { | 648 | if (mCollector->next([this, callback](const ResultSet::Result &result) { |
648 | if (result.operation != Sink::Operation_Removal) { | 649 | if (result.operation != Sink::Operation_Removal) { |