From 689391406a16899278bef2694f786db4b90fd915 Mon Sep 17 00:00:00 2001 From: krad Date: Mon, 23 Mar 2015 13:38:17 -0700 Subject: [PATCH] Make SSTDumpTest.GetProperties less noisy Summary: Limiting verbose printing to "command=scan" Test Plan: Run make check and manual testing of sst_dump_test Reviewers: sdong CC: leveldb Task ID: #6575982 Blame Rev: --- util/sst_dump_tool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/sst_dump_tool.cc b/util/sst_dump_tool.cc index 0af2b5b8d..d65feb220 100644 --- a/util/sst_dump_tool.cc +++ b/util/sst_dump_tool.cc @@ -377,7 +377,7 @@ int SSTDumpTool::Run(int argc, char** argv) { // scan all files in give file path. if (command == "" || command == "scan" || command == "check") { - st = reader.ReadSequential(command != "check", + st = reader.ReadSequential(command == "scan", read_num > 0 ? (read_num - total_read) : read_num, has_from, from_key, has_to, to_key);