diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-19 16:15:23 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-21 09:18:50 +0200 |
commit | 9a5f0a14714ec9a6a71a003b72e5ed3520dfa125 (patch) | |
tree | 78b2b4ac6fff648998b6e42aa0e4e0d8fb8144b7 /common/pipeline.cpp | |
parent | 67ec34a8df3a2c3fe5ffbfd74ef06ee8a52ed2bb (diff) | |
download | sink-9a5f0a14714ec9a6a71a003b72e5ed3520dfa125.tar.gz sink-9a5f0a14714ec9a6a71a003b72e5ed3520dfa125.zip |
Removed the whole revision cleanup into the entitystore
Diffstat (limited to 'common/pipeline.cpp')
-rw-r--r-- | common/pipeline.cpp | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/common/pipeline.cpp b/common/pipeline.cpp index b1c2c58..bb40a85 100644 --- a/common/pipeline.cpp +++ b/common/pipeline.cpp | |||
@@ -282,25 +282,12 @@ KAsync::Job<qint64> Pipeline::deletedEntity(void const *command, size_t size) | |||
282 | return KAsync::value(d->entityStore.maxRevision()); | 282 | return KAsync::value(d->entityStore.maxRevision()); |
283 | } | 283 | } |
284 | 284 | ||
285 | void Pipeline::cleanupRevision(qint64 revision) | 285 | void Pipeline::cleanupRevisions(qint64 revision) |
286 | { | 286 | { |
287 | d->entityStore.cleanupRevision(revision); | 287 | d->entityStore.cleanupRevisions(revision); |
288 | d->revisionChanged = true; | 288 | d->revisionChanged = true; |
289 | } | 289 | } |
290 | 290 | ||
291 | qint64 Pipeline::cleanedUpRevision() | ||
292 | { | ||
293 | /* return d->entityStore.cleanedUpRevision(); */ | ||
294 | /* return DataStore::cleanedUpRevision(d->transaction); */ | ||
295 | //FIXME Just move the whole cleanup revision iteration into the entitystore | ||
296 | return 0; | ||
297 | } | ||
298 | |||
299 | qint64 Pipeline::revision() | ||
300 | { | ||
301 | //FIXME Just move the whole cleanup revision iteration into the entitystore | ||
302 | return 0; | ||
303 | } | ||
304 | 291 | ||
305 | class Preprocessor::Private { | 292 | class Preprocessor::Private { |
306 | public: | 293 | public: |