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:
This commit is contained in:
krad 2015-03-23 13:38:17 -07:00
parent 51da3aab4a
commit 689391406a

View File

@ -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);