]> git.proxmox.com Git - ceph.git/blame - ceph/src/rocksdb/tools/db_bench.cc
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / rocksdb / tools / db_bench.cc
CommitLineData
7c673cae 1// Copyright (c) 2013-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// 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 __STDC_FORMAT_MACROS
11#define __STDC_FORMAT_MACROS
12#endif
13
14#ifndef GFLAGS
15#include <cstdio>
16int main() {
17 fprintf(stderr, "Please install gflags to run rocksdb tools\n");
18 return 1;
19}
20#else
21#include <rocksdb/db_bench_tool.h>
22int main(int argc, char** argv) { return rocksdb::db_bench_tool(argc, argv); }
23#endif // GFLAGS