Improve the readability of the TableProperties::ToString()

main
kailiu 11 years ago
parent 3e35aa6412
commit 0c93df912e
  1. 2
      db/table_properties_collector.cc
  2. 4
      table/block_based_table_builder.cc

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

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

Loading…
Cancel
Save