diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-05 13:00:56 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-05 13:00:56 +0100 |
commit | 1a429fd3103c16899f1f7be25046bb63b2b314c3 (patch) | |
tree | 7277b52d6026ca3ec081fbb2e7649a4c90718ede /tests/storagebenchmark.cpp | |
parent | 130affe4addb1aff1618d8fb849889b2d4453ef2 (diff) | |
download | sink-1a429fd3103c16899f1f7be25046bb63b2b314c3.tar.gz sink-1a429fd3103c16899f1f7be25046bb63b2b314c3.zip |
make tests declare ReadWrite when writing
Diffstat (limited to 'tests/storagebenchmark.cpp')
-rw-r--r-- | tests/storagebenchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storagebenchmark.cpp b/tests/storagebenchmark.cpp index f9fea7c..6010539 100644 --- a/tests/storagebenchmark.cpp +++ b/tests/storagebenchmark.cpp | |||
@@ -79,7 +79,7 @@ private Q_SLOTS: | |||
79 | 79 | ||
80 | Storage *store = 0; | 80 | Storage *store = 0; |
81 | if (useDb) { | 81 | if (useDb) { |
82 | store = new Storage(testDataPath, dbName); | 82 | store = new Storage(testDataPath, dbName, Storage::ReadWrite); |
83 | } | 83 | } |
84 | 84 | ||
85 | std::ofstream myfile; | 85 | std::ofstream myfile; |