mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
refs #5189 Fix broken test that didn't do clean shutdown (so txns could not be restored)
git-svn-id: file:///svn/toku/tokudb@45310 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
06b24bc451
commit
68d4752c85
1 changed files with 7 additions and 0 deletions
|
@ -90,6 +90,13 @@ create_populate_tree(const char *logdir, const char *fname, int n) {
|
|||
|
||||
error = toku_logger_close_rollback(logger, FALSE);
|
||||
assert(error == 0);
|
||||
|
||||
error = toku_checkpoint(ct, logger, NULL, NULL, NULL, NULL, CLIENT_CHECKPOINT);
|
||||
assert(error == 0);
|
||||
|
||||
error = toku_logger_shutdown(logger);
|
||||
CKERR(error);
|
||||
|
||||
error = toku_logger_close(&logger);
|
||||
assert(error == 0);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue