]> git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/tools/sst_dump.cc
import quincy beta 17.1.0
[ceph.git] / ceph / src / rocksdb / tools / sst_dump.cc
1 // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
2 // This source code is licensed under both the GPLv2 (found in the
3 // COPYING file in the root directory) and Apache 2.0 License
4 // (found in the LICENSE.Apache file in the root directory).
5 //
6 #ifndef ROCKSDB_LITE
7
8 #include "rocksdb/sst_dump_tool.h"
9
10 int main(int argc, char** argv) {
11 ROCKSDB_NAMESPACE::SSTDumpTool tool;
12 return tool.Run(argc, argv);
13 }
14 #else
15 #include <stdio.h>
16 int main(int /*argc*/, char** /*argv*/) {
17 fprintf(stderr, "Not supported in lite mode.\n");
18 return 1;
19 }
20 #endif // ROCKSDB_LITE