summaryrefslogtreecommitdiffstats
path: root/common/storage/entitystore.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-10 11:23:35 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-10 11:23:35 +0100
commit9a403ad71d772d776a4bc6f4e7a55d490f6f5c68 (patch)
treef7624aac2a527f6d12c0f7e52ca9c6eb7881dbe9 /common/storage/entitystore.cpp
parenta87b540b45ded2c2ad493fec4e82d22d5a417960 (diff)
downloadsink-9a403ad71d772d776a4bc6f4e7a55d490f6f5c68.tar.gz
sink-9a403ad71d772d776a4bc6f4e7a55d490f6f5c68.zip
Fixed revision cleanup
Diffstat (limited to 'common/storage/entitystore.cpp')
-rw-r--r--common/storage/entitystore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage/entitystore.cpp b/common/storage/entitystore.cpp
index 6fc82de..055499c 100644
--- a/common/storage/entitystore.cpp
+++ b/common/storage/entitystore.cpp
@@ -373,7 +373,7 @@ bool EntityStore::cleanupRevisions(qint64 revision)
373 if (cleanupIsNecessary) { 373 if (cleanupIsNecessary) {
374 SinkTraceCtx(d->logCtx) << "Cleaning up from " << firstRevisionToCleanup << " to " << revision; 374 SinkTraceCtx(d->logCtx) << "Cleaning up from " << firstRevisionToCleanup << " to " << revision;
375 for (qint64 rev = firstRevisionToCleanup; rev <= revision; rev++) { 375 for (qint64 rev = firstRevisionToCleanup; rev <= revision; rev++) {
376 cleanupRevision(revision); 376 cleanupRevision(rev);
377 } 377 }
378 } 378 }
379 if (implicitTransaction) { 379 if (implicitTransaction) {