diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-05 17:48:41 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-05 17:48:41 +0200 |
commit | 0acbe51f75bd1791b30d43e337c15e50680ae8c5 (patch) | |
tree | 7592ff49285085223453f2e0789632b315051cf5 /common/queryrunner.cpp | |
parent | b135813110db7de8625bd2902e49afd971af9756 (diff) | |
download | sink-0acbe51f75bd1791b30d43e337c15e50680ae8c5.tar.gz sink-0acbe51f75bd1791b30d43e337c15e50680ae8c5.zip |
These checks are no longer necessary
Diffstat (limited to 'common/queryrunner.cpp')
-rw-r--r-- | common/queryrunner.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/common/queryrunner.cpp b/common/queryrunner.cpp index b304384..cb8157e 100644 --- a/common/queryrunner.cpp +++ b/common/queryrunner.cpp | |||
@@ -156,10 +156,6 @@ static inline ResultSet fullScan(const Sink::Storage::Transaction &transaction, | |||
156 | Storage::mainDatabase(transaction, bufferType) | 156 | Storage::mainDatabase(transaction, bufferType) |
157 | .scan(QByteArray(), | 157 | .scan(QByteArray(), |
158 | [&](const QByteArray &key, const QByteArray &value) -> bool { | 158 | [&](const QByteArray &key, const QByteArray &value) -> bool { |
159 | // Skip internals | ||
160 | if (Sink::Storage::isInternalKey(key)) { | ||
161 | return true; | ||
162 | } | ||
163 | if (keys.contains(Sink::Storage::uidFromKey(key))) { | 159 | if (keys.contains(Sink::Storage::uidFromKey(key))) { |
164 | //Not something that should persist if the replay works, so we keep a message for now. | 160 | //Not something that should persist if the replay works, so we keep a message for now. |
165 | Trace() << "Multiple revisions for key: " << key; | 161 | Trace() << "Multiple revisions for key: " << key; |