Skip to content

Commit

Permalink
MOD: rename the info's keyspace field name(kv keys to string keys) (#322
Browse files Browse the repository at this point in the history
)
  • Loading branch information
git-hulk authored and Axlgrep committed Aug 13, 2018
1 parent 28dbb1a commit c913698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pika_admin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ void InfoCmd::InfoKeyspace(std::string &info) {
std::stringstream tmp_stream;
tmp_stream << "# Keyspace\r\n";
tmp_stream << "# Time:" << key_scan_info.s_start_time << "\r\n";
tmp_stream << "kv keys:" << key_nums_v[0] << "\r\n";
tmp_stream << "string keys:" << key_nums_v[0] << "\r\n";
tmp_stream << "hash keys:" << key_nums_v[1] << "\r\n";
tmp_stream << "list keys:" << key_nums_v[2] << "\r\n";
tmp_stream << "zset keys:" << key_nums_v[3] << "\r\n";
Expand Down

0 comments on commit c913698

Please sign in to comment.