summaryrefslogtreecommitdiffstats
path: root/common/storage.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-23 18:53:36 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-23 18:53:36 +0200
commit62e7084dcd6f53275fcb21ba17e880e41b40094d (patch)
tree302b051e94eb76c2fc18593597457b7b84953333 /common/storage.h
parent4141b5e8e6296ca8ab94553e27257f8c2b107461 (diff)
downloadsink-62e7084dcd6f53275fcb21ba17e880e41b40094d.tar.gz
sink-62e7084dcd6f53275fcb21ba17e880e41b40094d.zip
Duplicate settings as part of opening db.
Diffstat (limited to 'common/storage.h')
-rw-r--r--common/storage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage.h b/common/storage.h
index 2f7a2df..4b0604e 100644
--- a/common/storage.h
+++ b/common/storage.h
@@ -113,7 +113,7 @@ public:
113 bool commit(const std::function<void(const Storage::Error &error)> &errorHandler = std::function<void(const Storage::Error &error)>()); 113 bool commit(const std::function<void(const Storage::Error &error)> &errorHandler = std::function<void(const Storage::Error &error)>());
114 void abort(); 114 void abort();
115 115
116 NamedDatabase openDatabase(const QByteArray &name = QByteArray("default"), const std::function<void(const Storage::Error &error)> &errorHandler = std::function<void(const Storage::Error &error)>()) const; 116 NamedDatabase openDatabase(const QByteArray &name = QByteArray("default"), const std::function<void(const Storage::Error &error)> &errorHandler = std::function<void(const Storage::Error &error)>(), bool allowDuplicates = false) const;
117 117
118 Transaction(Transaction&& other) : d(other.d) 118 Transaction(Transaction&& other) : d(other.d)
119 { 119 {