diff options
Diffstat (limited to 'examples/maildirresource/maildirresource.cpp')
-rw-r--r-- | examples/maildirresource/maildirresource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/maildirresource/maildirresource.cpp b/examples/maildirresource/maildirresource.cpp index 922eb5a..6d1ec02 100644 --- a/examples/maildirresource/maildirresource.cpp +++ b/examples/maildirresource/maildirresource.cpp | |||
@@ -103,7 +103,7 @@ void MaildirResource::synchronizeFolders(Sink::Storage::Transaction &transaction | |||
103 | //we should rather iterate over an index that contains every uid exactly once. The remoteId index would be such an index, | 103 | //we should rather iterate over an index that contains every uid exactly once. The remoteId index would be such an index, |
104 | //but we currently fail to iterate over all entries in an index it seems. | 104 | //but we currently fail to iterate over all entries in an index it seems. |
105 | // auto remoteIds = synchronizationTransaction.openDatabase("rid.mapping." + bufferType, std::function<void(const Sink::Storage::Error &)>(), true); | 105 | // auto remoteIds = synchronizationTransaction.openDatabase("rid.mapping." + bufferType, std::function<void(const Sink::Storage::Error &)>(), true); |
106 | auto mainDatabase = transaction.openDatabase(bufferType + ".main"); | 106 | auto mainDatabase = Sink::Storage::mainDatabase(transaction, bufferType); |
107 | mainDatabase.scan("", [&](const QByteArray &key, const QByteArray &) { | 107 | mainDatabase.scan("", [&](const QByteArray &key, const QByteArray &) { |
108 | callback(key); | 108 | callback(key); |
109 | return true; | 109 | return true; |