[ldb compact is not allowing ttl flag]

Summary: Allow ttl flag

Test Plan:
tested on my database that has merge operations and ttl

Revert Plan: OK

Task ID: #3038186

Reviewers: emayanke, dhruba, haobo

Reviewed By: emayanke

CC: leveldb

Differential Revision: https://reviews.facebook.net/D13503
main
Vamsi Ponnekanti 11 years ago
parent 9cd221094c
commit 6731997f64
  1. 2
      util/ldb_cmd.cc

@ -334,7 +334,7 @@ CompactorCommand::CompactorCommand(const vector<string>& params,
const map<string, string>& options, const vector<string>& flags) : const map<string, string>& options, const vector<string>& flags) :
LDBCommand(options, flags, false, LDBCommand(options, flags, false,
BuildCmdLineOptions({ARG_FROM, ARG_TO, ARG_HEX, ARG_KEY_HEX, BuildCmdLineOptions({ARG_FROM, ARG_TO, ARG_HEX, ARG_KEY_HEX,
ARG_VALUE_HEX})), ARG_VALUE_HEX, ARG_TTL})),
null_from_(true), null_to_(true) { null_from_(true), null_to_(true) {
map<string, string>::const_iterator itr = options.find(ARG_FROM); map<string, string>::const_iterator itr = options.find(ARG_FROM);

Loading…
Cancel
Save