Merge "Removing extra string creation for log" into main

This commit is contained in:
Daniel Zheng 2023-08-17 18:19:10 +00:00 committed by Gerrit Code Review
commit 7bb24d3274

View file

@ -174,8 +174,7 @@ void CowWriterV2::InitBatchWrites() {
current_data_pos_ = next_data_pos_;
}
std::string batch_write = batch_write_ ? "enabled" : "disabled";
LOG_INFO << "Batch writes: " << batch_write;
LOG_INFO << "Batch writes: " << batch_write_ ? "enabled" : "disabled";
}
void CowWriterV2::InitWorkers() {