diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-22 10:16:18 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-22 10:16:18 +0100 |
commit | 2beb09e8b3f4922a15ec0abde737d4cf9b9d4f8b (patch) | |
tree | 50115abf9b041d66ab9e4242af52cd16a7a9a3db /common/storage/entitystore.cpp | |
parent | 280b1250c0a038c2cf09fae3848ed0adefecc430 (diff) | |
download | sink-2beb09e8b3f4922a15ec0abde737d4cf9b9d4f8b.tar.gz sink-2beb09e8b3f4922a15ec0abde737d4cf9b9d4f8b.zip |
Deal with removals in reduced queries
Diffstat (limited to 'common/storage/entitystore.cpp')
-rw-r--r-- | common/storage/entitystore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage/entitystore.cpp b/common/storage/entitystore.cpp index 020f3fd..7da7efa 100644 --- a/common/storage/entitystore.cpp +++ b/common/storage/entitystore.cpp | |||
@@ -563,7 +563,7 @@ void EntityStore::readPrevious(const QByteArray &type, const QByteArray &uid, qi | |||
563 | return true; | 563 | return true; |
564 | }, | 564 | }, |
565 | [&](const Sink::Storage::DataStore::Error &error) { SinkWarningCtx(d->logCtx) << "Failed to read current value from storage: " << error.message; }, true); | 565 | [&](const Sink::Storage::DataStore::Error &error) { SinkWarningCtx(d->logCtx) << "Failed to read current value from storage: " << error.message; }, true); |
566 | return readEntity(type, Sink::Storage::DataStore::assembleKey(uid, latestRevision), callback); | 566 | readEntity(type, Sink::Storage::DataStore::assembleKey(uid, latestRevision), callback); |
567 | } | 567 | } |
568 | 568 | ||
569 | void EntityStore::readPrevious(const QByteArray &type, const QByteArray &uid, qint64 revision, const std::function<void(const ApplicationDomain::ApplicationDomainType &)> callback) | 569 | void EntityStore::readPrevious(const QByteArray &type, const QByteArray &uid, qint64 revision, const std::function<void(const ApplicationDomain::ApplicationDomainType &)> callback) |