diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2014-11-30 17:57:31 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2014-11-30 17:57:31 +0100 |
commit | 7cbf25f2f6d38efa384c7f8e0a5b2b2d274ebb00 (patch) | |
tree | 583e0a4bdebe15c73d9860e78480517034e6ca9f /store/database.h | |
parent | 7373f1a92c2d6d0790f6a47a011c107c32064cc8 (diff) | |
download | sink-7cbf25f2f6d38efa384c7f8e0a5b2b2d274ebb00.tar.gz sink-7cbf25f2f6d38efa384c7f8e0a5b2b2d274ebb00.zip |
Moved buffertest to store/test and turned it into a reproducible benchmark.
Diffstat (limited to 'store/database.h')
-rw-r--r-- | store/database.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/store/database.h b/store/database.h index b42b9f7..1a124be 100644 --- a/store/database.h +++ b/store/database.h | |||
@@ -1,9 +1,10 @@ | |||
1 | #include <lmdb.h> | 1 | #include <lmdb.h> |
2 | #include <string> | 2 | #include <string> |
3 | #include <QString> | ||
3 | 4 | ||
4 | class Database { | 5 | class Database { |
5 | public: | 6 | public: |
6 | Database(); | 7 | Database(const QString &path); |
7 | ~Database(); | 8 | ~Database(); |
8 | MDB_txn *startTransaction(); | 9 | MDB_txn *startTransaction(); |
9 | void endTransaction(MDB_txn *transaction); | 10 | void endTransaction(MDB_txn *transaction); |