mdbx-tests: refine after last pull-request.

Refine after 4e40af60e7 (Merge pull request #20 from rouzier/feature/txn_try).
This commit is contained in:
Leo Yuriev
2017-10-26 21:14:29 +03:00
parent 17b8e48bf4
commit 32c5c3b761
5 changed files with 33 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
/*
/*
* Copyright 2017 Leonid Yuriev <leo@yuriev.ru>
* and other libmdbx authors: please see AUTHORS file.
* All rights reserved.
@@ -25,7 +25,7 @@ bool testcase_deadread::setup() {
bool testcase_deadread::run() {
db_open();
txn_begin(MDBX_RDONLY);
txn_begin(true);
return true;
}
@@ -50,7 +50,7 @@ bool testcase_deadwrite::setup() {
bool testcase_deadwrite::run() {
db_open();
txn_begin(0);
txn_begin(false);
return true;
}