Change error message.

GitOrigin-RevId: 731888bdff7bf4efc0985bcdcf59954eee605d9d
This commit is contained in:
levlam 2018-07-23 21:46:05 +03:00
parent 4717e5529a
commit 2a50835118

View File

@ -383,8 +383,8 @@ void Binlog::do_event(BinlogEvent &&event) {
fd_.seek(fd_size_).ensure();
fd_.truncate_to_current_position(fd_size_).ensure();
}
LOG(FATAL) << "Truncate binlog \"" << path_ << "\" in state " << static_cast<int32>(state_) << " from size "
<< old_size << " to size " << fd_size_ << " due to error: " << status;
LOG(FATAL) << "Truncate binlog \"" << path_ << "\" from size " << old_size << " to size " << fd_size_
<< " in state " << static_cast<int32>(state_) << " due to error: " << status;
}
}