diff --git a/src/teracli_main.cc b/src/teracli_main.cc index b53228d66..49c29dd6d 100644 --- a/src/teracli_main.cc +++ b/src/teracli_main.cc @@ -1123,6 +1123,13 @@ int32_t ScanOp(Client* client, int32_t argc, std::string* argv, ErrorCode* err) std::string start_rowkey = argv[3]; std::string end_rowkey = argv[4]; + if (start_rowkey == "\"\"") { + start_rowkey = ""; + } + if (end_rowkey == "\"\"") { + end_rowkey = ""; + } + LOG(INFO) << "start_key=" << start_rowkey << " end_key=" << end_rowkey; ScanDescriptor desc(start_rowkey); desc.SetEnd(end_rowkey); if (op == "scanallv") {