mdbx-test: use mdbx::buffer from mdbx++.

This commit is contained in:
Leonid Yuriev
2021-04-19 17:44:04 +03:00
parent c4a696be1d
commit 62889b5b7f
5 changed files with 18 additions and 14 deletions

View File

@@ -1058,10 +1058,8 @@ bool testcase::speculum_verify() {
const auto S_key = iov2dataview(akey);
const auto S_data = iov2dataview(avalue);
if (it != speculum.cend()) {
mkey.iov_base = (void *)it->first.c_str();
mkey.iov_len = it->first.size();
mvalue.iov_base = (void *)it->second.c_str();
mvalue.iov_len = it->second.size();
mkey = it->first;
mvalue = it->second;
}
if (err == MDBX_SUCCESS && it != speculum.cend() && S_key == it->first &&
S_data == it->second) {