Commit ff573e1a authored by Dave Wells's avatar Dave Wells Committed by Yoni Fogel

version that works for TDB and BDB - ticket 2030

git-svn-id: file:///svn/toku/tokudb@14668 c7de825b-a66e-492c-adef-691d508d4ae1
parent 64a75421
...@@ -46,13 +46,16 @@ test_main (int argc, char *argv[]) { ...@@ -46,13 +46,16 @@ test_main (int argc, char *argv[]) {
char **list; char **list;
r=env->log_archive(env, &list, 0); r=env->log_archive(env, &list, 0);
CKERR(r); CKERR(r);
//this test no longer produces a list with any entries //this test no longer produces a list with any entries for TDB
// - txn_checkpoint trims unused logfiles // - txn_checkpoint trims unused logfiles
//assert(list); #if IS_TDB
//assert(list[0]); assert(list == 0);
//if (verbose) printf("file[0]=%s\n", list[0]); #else
//toku_free(list); assert(list);
assert(list==NULL); assert(list[0]);
if (verbose) printf("file[0]=%s\n", list[0]);
toku_free(list);
#endif
} }
r=db->close(db, 0); CKERR(r); r=db->close(db, 0); CKERR(r);
......
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