From 2a5083511839ef58d66aa89c04109d76bbf96979 Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 23 Jul 2018 21:46:05 +0300 Subject: [PATCH] Change error message. GitOrigin-RevId: 731888bdff7bf4efc0985bcdcf59954eee605d9d --- tddb/td/db/binlog/Binlog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tddb/td/db/binlog/Binlog.cpp b/tddb/td/db/binlog/Binlog.cpp index c485c796..846b29d2 100644 --- a/tddb/td/db/binlog/Binlog.cpp +++ b/tddb/td/db/binlog/Binlog.cpp @@ -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(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(state_) << " due to error: " << status; } }