From ffdbd257bc4b13132b10f60d9ab70759e1f259bd Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 3 Apr 2015 00:58:52 +0200 Subject: We have to copy all values anyways, so this transaction is no longer required. --- dummyresource/facade.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'dummyresource') diff --git a/dummyresource/facade.cpp b/dummyresource/facade.cpp index 04bf5b3..949b4c4 100644 --- a/dummyresource/facade.cpp +++ b/dummyresource/facade.cpp @@ -212,9 +212,6 @@ Async::Job DummyResourceFacade::load(const Akonadi2::Query &query, const s }); } - //We start a transaction explicitly that we'll leave open so the values can be read. - //The transaction will be closed automatically once the storage object is destroyed. - storage->startTransaction(Akonadi2::Storage::ReadOnly); if (keys.isEmpty()) { Log() << "Executing a full scan"; readValue(storage, QByteArray(), resultCallback, preparedQuery); -- cgit v1.2.3