diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-26 15:05:41 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-26 15:05:41 +0200 |
commit | 80afd7070f2d8e57cab2fe55fef611623fdb75f0 (patch) | |
tree | 5ec29f1bfece2b4344d040db232f7c4c0f746b73 /common/storage.h | |
parent | b334872e612433aee1284561fa247127bcdeeaf8 (diff) | |
download | sink-80afd7070f2d8e57cab2fe55fef611623fdb75f0.tar.gz sink-80afd7070f2d8e57cab2fe55fef611623fdb75f0.zip |
Make sure we initialize the environment correctly and only set the db version when creating it
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 5a4fb45..2451040 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -222,6 +222,7 @@ public: | |||
222 | static void getUids(const QByteArray &type, const Transaction &, const std::function<void(const QByteArray &uid)> &); | 222 | static void getUids(const QByteArray &type, const Transaction &, const std::function<void(const QByteArray &uid)> &); |
223 | 223 | ||
224 | bool exists() const; | 224 | bool exists() const; |
225 | static bool exists(const QString &storageRoot, const QString &name); | ||
225 | 226 | ||
226 | static bool isInternalKey(const char *key); | 227 | static bool isInternalKey(const char *key); |
227 | static bool isInternalKey(void *key, int keySize); | 228 | static bool isInternalKey(void *key, int keySize); |