mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
strange return in BDB. addresses #838
git-svn-id: file:///svn/tokudb@4541 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
10f21e7224
commit
5c3b4003e8
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue