From 9a403ad71d772d776a4bc6f4e7a55d490f6f5c68 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 10 Jan 2017 11:23:35 +0100 Subject: Fixed revision cleanup --- common/storage/entitystore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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) if (cleanupIsNecessary) { SinkTraceCtx(d->logCtx) << "Cleaning up from " << firstRevisionToCleanup << " to " << revision; for (qint64 rev = firstRevisionToCleanup; rev <= revision; rev++) { - cleanupRevision(revision); + cleanupRevision(rev); } } if (implicitTransaction) { -- cgit v1.2.3