Commit b232f739 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#4768 get test running on bdb again refs[t:4768]

git-svn-id: file:///svn/toku/tokudb@43534 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5a069865
...@@ -40,8 +40,11 @@ test_main (int UU(argc), char UU(*const argv[])) { ...@@ -40,8 +40,11 @@ test_main (int UU(argc), char UU(*const argv[])) {
r=db->close(db, 0); assert(r==0); r=db->close(db, 0); assert(r==0);
r=db_create(&db, env, 0); assert(r==0); r=db_create(&db, env, 0); assert(r==0);
#if defined(TOKUDB)
r=env->dbremove(env, NULL, "master.db", NULL, 0); assert(r==0); r=env->dbremove(env, NULL, "master.db", NULL, 0); assert(r==0);
#else
r=db->remove(db, "master.db", NULL, 0); assert(r==0);
#endif
r=env->close(env, 0); assert(r==0); r=env->close(env, 0); assert(r==0);
return 0; return 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