summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src/stdafx.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-02-21 15:38:01 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-02-21 15:38:01 +0000
commit0f56c7c50ab021665a1592eeec59ab7ecfc9a584 (patch)
treea6435a1ae53262e0e29145dbd635456267525444 /plugins/Dbx_mdb/src/stdafx.h
parentc435188487f1e89942b6ada46808b9103f3f25cd (diff)
dbx_lmdb: some fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@16319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/stdafx.h')
-rw-r--r--plugins/Dbx_mdb/src/stdafx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dbx_mdb/src/stdafx.h b/plugins/Dbx_mdb/src/stdafx.h
index 793c25b6f0..8f8c3b4829 100644
--- a/plugins/Dbx_mdb/src/stdafx.h
+++ b/plugins/Dbx_mdb/src/stdafx.h
@@ -50,9 +50,9 @@ class txn_ptr
MDB_txn *m_txn;
public:
- __forceinline txn_ptr(MDB_env *pEnv, bool bReadOnly = false)
+ __forceinline txn_ptr(MDB_env *pEnv)
{
- mdb_txn_begin(pEnv, NULL, (bReadOnly) ? MDB_RDONLY : 0, &m_txn);
+ mdb_txn_begin(pEnv, NULL, 0, &m_txn);
}
__forceinline ~txn_ptr()