diff options
Diffstat (limited to 'common/pipeline.cpp')
-rw-r--r-- | common/pipeline.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/pipeline.cpp b/common/pipeline.cpp index d3668bc..1eea631 100644 --- a/common/pipeline.cpp +++ b/common/pipeline.cpp | |||
@@ -287,7 +287,9 @@ KAsync::Job<qint64> Pipeline::deletedEntity(void const *command, size_t size) | |||
287 | 287 | ||
288 | void Pipeline::cleanupRevisions(qint64 revision) | 288 | void Pipeline::cleanupRevisions(qint64 revision) |
289 | { | 289 | { |
290 | d->entityStore.cleanupRevisions(revision); | 290 | //We have to set revisionChanged, otherwise a call to commit might abort |
291 | //the transaction when not using the implicit internal transaction | ||
292 | d->revisionChanged = d->entityStore.cleanupRevisions(revision); | ||
291 | } | 293 | } |
292 | 294 | ||
293 | 295 | ||