mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
get the checkpoint tests working again [t:1961]
git-svn-id: file:///svn/toku/tokudb@14545 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
39a61f0312
commit
21ff8f9541
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ toku_checkpoint(CACHETABLE ct, TOKULOGGER logger, char **error_string,
|
|||
callback_f(extra); // callback is called with checkpoint_safe_lock still held
|
||||
r = toku_cachetable_end_checkpoint(ct, logger, error_string, callback2_f, extra2);
|
||||
}
|
||||
if (r==0) {
|
||||
if (r==0 && logger) {
|
||||
LSN trim_lsn = (oldest_live_lsn.lsn < logger->checkpoint_lsn.lsn) ? oldest_live_lsn : logger->checkpoint_lsn;
|
||||
r = toku_logger_maybe_trim_log(logger, trim_lsn);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue