2016-02-10 00:12:00 +01:00
|
|
|
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
|
2013-10-16 23:59:46 +02:00
|
|
|
// This source code is licensed under the BSD-style license found in the
|
|
|
|
// LICENSE file in the root directory of this source tree. An additional grant
|
|
|
|
// of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
//
|
2014-11-12 22:05:12 +01:00
|
|
|
#ifndef ROCKSDB_LITE
|
2012-08-24 20:28:59 +02:00
|
|
|
|
2014-11-08 02:23:58 +01:00
|
|
|
#include "rocksdb/sst_dump_tool.h"
|
2013-08-07 22:36:26 +02:00
|
|
|
|
2012-08-24 20:28:59 +02:00
|
|
|
int main(int argc, char** argv) {
|
2014-11-08 02:23:58 +01:00
|
|
|
rocksdb::SSTDumpTool tool;
|
|
|
|
tool.Run(argc, argv);
|
|
|
|
return 0;
|
2012-08-24 20:28:59 +02:00
|
|
|
}
|
2014-11-12 22:05:12 +01:00
|
|
|
#else
|
|
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char** argv) {
|
|
|
|
fprintf(stderr, "Not supported in lite mode.\n");
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
#endif // ROCKSDB_LITE
|