Commit ae4f08d9 authored by Rich Prohaska's avatar Rich Prohaska

make it work correctly on bdb. closes #244

git-svn-id: file:///svn/tokudb@1527 c7de825b-a66e-492c-adef-691d508d4ae1
parent 988295b9
......@@ -87,7 +87,11 @@ void test_db_delete(int n, int dup_mode) {
expect_db_del(db, htonl(n), DB_DELETE_ANY, 0);
#endif
#if USE_BDB && defined(DB_DELETE_ANY)
#if DB_DELETE_ANY == 0
expect_db_del(db, htonl(n), DB_DELETE_ANY, DB_NOTFOUND);
#else
expect_db_del(db, htonl(n), DB_DELETE_ANY, EINVAL);
#endif
#endif
r = db->close(db, 0);
......
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