Commit 219b9ea8 authored by Rich Prohaska's avatar Rich Prohaska

strange return in BDB. addresses #838

git-svn-id: file:///svn/tokudb@4541 c7de825b-a66e-492c-adef-691d508d4ae1
parent f67d6d84
......@@ -364,7 +364,12 @@ void test_838_defer_delete_commit(int n) {
if (i > 0 && t > 10*maxt)
testresult = 1;
}
r = cursor->c_close(cursor); assert(r == 0);
r = cursor->c_close(cursor);
#if USE_BDB
if (r != expectr) printf("%s:%d:WARNING r=%d expectr=%d\n", __FILE__, __LINE__, r, expectr);
#else
assert(r == expectr);
#endif
r = txn->commit(txn, 0); assert(r == expectr);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment