summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/dbintf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mdbx/src/dbintf.cpp')
-rw-r--r--plugins/Dbx_mdbx/src/dbintf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp
index e9d0b33ad9..aa2cd398b3 100644
--- a/plugins/Dbx_mdbx/src/dbintf.cpp
+++ b/plugins/Dbx_mdbx/src/dbintf.cpp
@@ -66,7 +66,7 @@ int CDbxMDBX::Load(bool bSkipInit)
return EGROKPRF_CANTREAD;
if (!bSkipInit) {
- txn_ptr trnlck(m_env);
+ txn_ptr trnlck(StartTran());
unsigned int defFlags = MDBX_CREATE;