summaryrefslogtreecommitdiffstats
path: root/common/typeindex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/typeindex.cpp')
-rw-r--r--common/typeindex.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/typeindex.cpp b/common/typeindex.cpp
index 5589e13..153aa43 100644
--- a/common/typeindex.cpp
+++ b/common/typeindex.cpp
@@ -190,7 +190,7 @@ static QVector<QByteArray> indexLookup(Index &index, QueryBase::Comparator filte
190 190
191 for (const auto &lookupKey : lookupKeys) { 191 for (const auto &lookupKey : lookupKeys) {
192 index.lookup(lookupKey, [&](const QByteArray &value) { keys << value; }, 192 index.lookup(lookupKey, [&](const QByteArray &value) { keys << value; },
193 [lookupKey](const Index::Error &error) { SinkWarning() << "Error in index: " << error.message << lookupKey; }, true); 193 [lookupKey](const Index::Error &error) { SinkWarning() << "Lookup error in index: " << error.message << lookupKey; }, true);
194 } 194 }
195 return keys; 195 return keys;
196} 196}
@@ -272,7 +272,7 @@ QVector<QByteArray> TypeIndex::secondaryLookup<QByteArray>(const QByteArray &lef
272 Index index(indexName(leftName + rightName), *mTransaction); 272 Index index(indexName(leftName + rightName), *mTransaction);
273 const auto lookupKey = getByteArray(value); 273 const auto lookupKey = getByteArray(value);
274 index.lookup( 274 index.lookup(
275 lookupKey, [&](const QByteArray &value) { keys << value; }, [=](const Index::Error &error) { SinkWarning() << "Error in index: " << error.message << value; }); 275 lookupKey, [&](const QByteArray &value) { keys << value; }, [=](const Index::Error &error) { SinkWarning() << "Lookup error in secondary index: " << error.message << value << lookupKey; });
276 276
277 return keys; 277 return keys;
278} 278}
@@ -284,7 +284,7 @@ QVector<QByteArray> TypeIndex::secondaryLookup<QString>(const QByteArray &leftNa
284 Index index(indexName(leftName + rightName), *mTransaction); 284 Index index(indexName(leftName + rightName), *mTransaction);
285 const auto lookupKey = getByteArray(value); 285 const auto lookupKey = getByteArray(value);
286 index.lookup( 286 index.lookup(
287 lookupKey, [&](const QByteArray &value) { keys << value; }, [=](const Index::Error &error) { SinkWarning() << "Error in index: " << error.message << value; }); 287 lookupKey, [&](const QByteArray &value) { keys << value; }, [=](const Index::Error &error) { SinkWarning() << "Lookup error in secondary index: " << error.message << value << lookupKey; });
288 288
289 return keys; 289 return keys;
290} 290}