mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
fix test_archive1 to account for checkpoint functionality that deletes unneeded log files close[t:2030]
git-svn-id: file:///svn/toku/tokudb@14648 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
4105fa5e22
commit
e201307986
1 changed files with 7 additions and 4 deletions
|
@ -46,10 +46,13 @@ test_main (int argc, char *argv[]) {
|
|||
char **list;
|
||||
r=env->log_archive(env, &list, 0);
|
||||
CKERR(r);
|
||||
assert(list);
|
||||
assert(list[0]);
|
||||
if (verbose) printf("file[0]=%s\n", list[0]);
|
||||
toku_free(list);
|
||||
//this test no longer produces a list with any entries
|
||||
// - 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);
|
||||
}
|
||||
|
||||
r=db->close(db, 0); CKERR(r);
|
||||
|
|
Loading…
Add table
Reference in a new issue