From b35f44115443e718ae5745f557f27e51d8040004 Mon Sep 17 00:00:00 2001 From: Jung-Sang Ahn Date: Mon, 23 Dec 2024 12:50:57 -0800 Subject: [PATCH] Fix to bug of broken characters in cmd_handler (#188) --- src/cmd_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd_handler.cc b/src/cmd_handler.cc index 12cf591..6b160d8 100644 --- a/src/cmd_handler.cc +++ b/src/cmd_handler.cc @@ -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;