summaryrefslogtreecommitdiffstats
path: root/common/changereplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/changereplay.cpp')
-rw-r--r--common/changereplay.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/changereplay.cpp b/common/changereplay.cpp
index 0adbd78..e81f52c 100644
--- a/common/changereplay.cpp
+++ b/common/changereplay.cpp
@@ -113,7 +113,9 @@ KAsync::Job<void> ChangeReplay::replayNextRevision()
113 if (uid.isEmpty() || type.isEmpty()) { 113 if (uid.isEmpty() || type.isEmpty()) {
114 SinkErrorCtx(mLogCtx) << "Failed to read uid or type for revison: " << revision << uid << type; 114 SinkErrorCtx(mLogCtx) << "Failed to read uid or type for revison: " << revision << uid << type;
115 } else { 115 } else {
116 const auto key = DataStore::assembleKey(uid, revision); 116 //const auto key = DataStore::assembleKey(uid, revision);
117 // TODO: should not use internal representations
118 const auto key = Storage::Key(Storage::Identifier::fromDisplayByteArray(uid), revision).toInternalByteArray();
117 QByteArray entityBuffer; 119 QByteArray entityBuffer;
118 DataStore::mainDatabase(mMainStoreTransaction, type) 120 DataStore::mainDatabase(mMainStoreTransaction, type)
119 .scan(key, 121 .scan(key,