]> git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/tools/db_bench.cc
bump version to 18.2.4-pve3
[ceph.git] / ceph / src / rocksdb / tools / db_bench.cc
1 // Copyright (c) 2013-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 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
7 // Use of this source code is governed by a BSD-style license that can be
8 // found in the LICENSE file. See the AUTHORS file for names of contributors.
9
10 #ifndef GFLAGS
11 #include <cstdio>
12 int main() {
13 fprintf(stderr, "Please install gflags to run rocksdb tools\n");
14 return 1;
15 }
16 #else
17 #include "rocksdb/db_bench_tool.h"
18 int main(int argc, char** argv) {
19 return ROCKSDB_NAMESPACE::db_bench_tool(argc, argv);
20 }
21 #endif // GFLAGS