ldb waldump to print the keys along with other stats + NULL to nullptr in ldb_cmd.cc

Summary: LDB tool to print the deleted/put keys in hex in the wal file.

Test Plan: run ldb on a  db to check if output was satisfactory

Reviewers: dhruba

Reviewed By: dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D8691
This commit is contained in:
Abhishek Kona
2013-02-19 18:12:20 -08:00
parent b2c50f1c3f
commit 9bf91c74b8
2 changed files with 67 additions and 12 deletions

View File

@@ -424,9 +424,11 @@ public:
private:
bool print_header_;
string wal_file_;
bool print_values_;
static const string ARG_WAL_FILE;
static const string ARG_PRINT_HEADER;
static const string ARG_PRINT_VALUE;
};