diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-20 14:45:42 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-20 14:45:42 +0200 |
commit | f78a3ca8515fba5b8d9ad6f4d5bfda3fb83b46e7 (patch) | |
tree | a7d7940b5a5623e38540abb0d328d3ebe79f003a /common/storage/entitystore.cpp | |
parent | 75d51b5ee87f3c1d34586c34f73c2100d09e1d04 (diff) | |
download | sink-f78a3ca8515fba5b8d9ad6f4d5bfda3fb83b46e7.tar.gz sink-f78a3ca8515fba5b8d9ad6f4d5bfda3fb83b46e7.zip |
We don't need the layout just to check for existence
Diffstat (limited to 'common/storage/entitystore.cpp')
-rw-r--r-- | common/storage/entitystore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage/entitystore.cpp b/common/storage/entitystore.cpp index 6ff700e..22e5ae3 100644 --- a/common/storage/entitystore.cpp +++ b/common/storage/entitystore.cpp | |||
@@ -113,7 +113,7 @@ public: | |||
113 | 113 | ||
114 | bool exists() | 114 | bool exists() |
115 | { | 115 | { |
116 | return Sink::Storage::DataStore(Sink::storageLocation(), dbLayout(resourceContext.instanceId()), DataStore::ReadOnly).exists(); | 116 | return Sink::Storage::DataStore(Sink::storageLocation(), resourceContext.instanceId(), DataStore::ReadOnly).exists(); |
117 | } | 117 | } |
118 | 118 | ||
119 | DataStore::Transaction &getTransaction() | 119 | DataStore::Transaction &getTransaction() |