Commit 21ff8f95 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

get the checkpoint tests working again [t:1961]

git-svn-id: file:///svn/toku/tokudb@14545 c7de825b-a66e-492c-adef-691d508d4ae1
parent 39a61f03
......@@ -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);
}
......
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