mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
version that works for TDB and BDB - ticket 2030
git-svn-id: file:///svn/toku/tokudb@14668 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
e201307986
commit
3e3ffc2284
1 changed files with 9 additions and 6 deletions
|
@ -46,13 +46,16 @@ test_main (int argc, char *argv[]) {
|
|||
char **list;
|
||||
r=env->log_archive(env, &list, 0);
|
||||
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
|
||||
//assert(list);
|
||||
//assert(list[0]);
|
||||
//if (verbose) printf("file[0]=%s\n", list[0]);
|
||||
//toku_free(list);
|
||||
assert(list==NULL);
|
||||
#if IS_TDB
|
||||
assert(list == 0);
|
||||
#else
|
||||
assert(list);
|
||||
assert(list[0]);
|
||||
if (verbose) printf("file[0]=%s\n", list[0]);
|
||||
toku_free(list);
|
||||
#endif
|
||||
}
|
||||
|
||||
r=db->close(db, 0); CKERR(r);
|
||||
|
|
Loading…
Add table
Reference in a new issue