From 6731997f64e027fa771172e9d881c6983816ac34 Mon Sep 17 00:00:00 2001 From: Vamsi Ponnekanti Date: Wed, 16 Oct 2013 17:57:03 -0700 Subject: [PATCH] [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 --- util/ldb_cmd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/ldb_cmd.cc b/util/ldb_cmd.cc index c2738701f..7eff62fd9 100644 --- a/util/ldb_cmd.cc +++ b/util/ldb_cmd.cc @@ -334,7 +334,7 @@ CompactorCommand::CompactorCommand(const vector& params, const map& options, const vector& flags) : LDBCommand(options, flags, false, BuildCmdLineOptions({ARG_FROM, ARG_TO, ARG_HEX, ARG_KEY_HEX, - ARG_VALUE_HEX})), + ARG_VALUE_HEX, ARG_TTL})), null_from_(true), null_to_(true) { map::const_iterator itr = options.find(ARG_FROM);