summaryrefslogtreecommitdiffstats
path: root/common/storage.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-26 15:05:41 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-26 15:05:41 +0200
commit80afd7070f2d8e57cab2fe55fef611623fdb75f0 (patch)
tree5ec29f1bfece2b4344d040db232f7c4c0f746b73 /common/storage.h
parentb334872e612433aee1284561fa247127bcdeeaf8 (diff)
downloadsink-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.h1
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);