Improve the readability of the TableProperties::ToString()

This commit is contained in:
kailiu 2013-11-21 17:54:23 -08:00
parent 3e35aa6412
commit 0c93df912e
2 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ std::string TableProperties::ToString(
); );
AppendProperty( AppendProperty(
result, result,
"(estimated) table size=", "(estimated) table size",
data_size + index_size + filter_size, data_size + index_size + filter_size,
prop_delim, prop_delim,
kv_delim kv_delim

View File

@ -530,8 +530,8 @@ Status BlockBasedTableBuilder::Finish() {
Log( Log(
r->options.info_log, r->options.info_log,
"Table was constructed:\n" "Table was constructed:\n"
" basic properties: %s\n" " [basic properties]: %s\n"
" user collected properties: %s", " [user collected properties]: %s",
r->props.ToString().c_str(), r->props.ToString().c_str(),
user_collected.c_str() user_collected.c_str()
); );