Commit 4997f462 authored by Leif Walsh's avatar Leif Walsh

handle the error returned by open_logfile, if there is one, closes #24

parent 044cf573
......@@ -255,7 +255,8 @@ toku_logger_open_with_last_xid(const char *directory, TOKULOGGER logger, TXNID l
if (r!=0) return r;
logger->next_log_file_number = nexti;
open_logfile(logger);
r = open_logfile(logger);
if (r!=0) return r;
if (last_xid == TXNID_NONE) {
last_xid = last_xid_if_clean_shutdown;
}
......
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