Skip to content

Commit

Permalink
Fix to bug of broken characters in cmd_handler (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
greensky00 authored Dec 23, 2024
1 parent 7789be4 commit b35f441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd_handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ std::string CmdHandler::hDumpKv(DBWrap* target_dbw,
ss << "[" << count << "]" << std::endl;
ss << "key: " << HexDump::toString(rec_out.kv.key) << std::endl;
ss << "sequence number: " << rec_out.seqNum << std::endl;
ss << "type: " << rec_out.type << std::endl;
ss << "type: " << (int)rec_out.type << std::endl;
ss << "meta: " << HexDump::toString(rec_out.meta) << std::endl;
if (tokens[0] == "getmeta") {
ss << "value: " << rec_out.kv.value.size << " bytes" << std::endl;
Expand Down

0 comments on commit b35f441

Please sign in to comment.