diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-03 12:41:07 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-03 12:41:07 +0200 |
commit | 77562cdae63e0ec7b09e8ece6af97165ba9e48dd (patch) | |
tree | b24d23335fd856881b7284532e7d4d36caa5ca13 /common/storage.h | |
parent | 6569a6dceec10c77578184ce68c26e20ba27fa39 (diff) | |
download | sink-77562cdae63e0ec7b09e8ece6af97165ba9e48dd.tar.gz sink-77562cdae63e0ec7b09e8ece6af97165ba9e48dd.zip |
A way to retrieve the last revision during changereplay.
Diffstat (limited to 'common/storage.h')
-rw-r--r-- | common/storage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/storage.h b/common/storage.h index 0527c4f..2661439 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -216,6 +216,7 @@ public: | |||
216 | 216 | ||
217 | static QByteArray assembleKey(const QByteArray &key, qint64 revision); | 217 | static QByteArray assembleKey(const QByteArray &key, qint64 revision); |
218 | static QByteArray uidFromKey(const QByteArray &key); | 218 | static QByteArray uidFromKey(const QByteArray &key); |
219 | static qint64 revisionFromKey(const QByteArray &key); | ||
219 | 220 | ||
220 | static NamedDatabase mainDatabase(const Sink::Storage::Transaction &, const QByteArray &type); | 221 | static NamedDatabase mainDatabase(const Sink::Storage::Transaction &, const QByteArray &type); |
221 | 222 | ||