rocksdb/tools
Yueh-Hsuan Chiang 3ce8d9a988 Add support for plain table format to sst_dump.
Summary:
This diff enables the command line tool `sst_dump` to work for sst files
under plain table format.  Changes include:
  * In tools/sst_dump.cc:
    - add support for plain table format
    - display prefix_extractor information when --show_properties is on
  * In table/format.cc
    - Now the table magic number of a Footer can be later initialized
      via ReadFooterFromFile().
  * In table/meta_bocks:
    - add function ReadTableMagicNumber() that reads the magic number of
      the specified file.

Minor fixes:
 - remove a duplicate #include in table/table_test.cc
 - fix a commentary typo in include/rocksdb/memtablerep.h
 - fix lint errors.

Test Plan:
Runs sst_dump with both block-based and plain-table format files with
different arguments, specifically those with --show-properties and --from.

* sample output:
  https://reviews.facebook.net/P261

Reviewers: kailiu, sdong, xjin

CC: leveldb

Differential Revision: https://reviews.facebook.net/D15903
2014-02-07 11:15:00 -08:00
..
shell Fixed typos 2013-11-16 11:21:34 +00:00
blob_store_bench.cc Fix make release 2013-10-31 11:47:22 -07:00
db_crashtest.py Fixing crashing tests to include iterpercent param 2013-09-20 16:27:22 -07:00
db_crashtest2.py Fixed typos 2013-11-16 11:21:34 +00:00
db_repl_stress.cc Fix some 32-bit compile errors 2014-02-03 13:48:30 -08:00
db_stress.cc Moving Some includes from options.h to forward declaration 2014-01-24 17:16:22 -08:00
ldb.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
ldb_test.py Fixed typos 2013-11-16 11:21:34 +00:00
reduce_levels_test.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
sst_dump.cc Add support for plain table format to sst_dump. 2014-02-07 11:15:00 -08:00