]> git.proxmox.com Git - ceph.git/blame - ceph/src/rocksdb/tools/sst_dump.cc
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / rocksdb / tools / sst_dump.cc
CommitLineData
7c673cae 1// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
11fdf7f2
TL
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).
7c673cae
FG
5//
6#ifndef ROCKSDB_LITE
7
8#include "rocksdb/sst_dump_tool.h"
9
10int main(int argc, char** argv) {
f67539c2 11 ROCKSDB_NAMESPACE::SSTDumpTool tool;
7c673cae
FG
12 tool.Run(argc, argv);
13 return 0;
14}
15#else
16#include <stdio.h>
11fdf7f2 17int main(int /*argc*/, char** /*argv*/) {
7c673cae
FG
18 fprintf(stderr, "Not supported in lite mode.\n");
19 return 1;
20}
21#endif // ROCKSDB_LITE