https://github.com/facebook/rocksdb
Raw File
Tip revision: ed4316166f67ec892603014634840d29f460f611 authored by Andrew Kryczka on 01 December 2020, 23:05:35 UTC
fixup release note (track_and_verify_wals_in_manifest not available in 6.14)
Tip revision: ed43161
ldb.cc
//  Copyright (c) 2011-present, Facebook, Inc.  All rights reserved.
//  This source code is licensed under both the GPLv2 (found in the
//  COPYING file in the root directory) and Apache 2.0 License
//  (found in the LICENSE.Apache file in the root directory).
//
#ifndef ROCKSDB_LITE

#include "rocksdb/ldb_tool.h"

int main(int argc, char** argv) {
  ROCKSDB_NAMESPACE::LDBTool tool;
  tool.Run(argc, argv);
  return 0;
}
#else
#include <stdio.h>
int main(int /*argc*/, char** /*argv*/) {
  fprintf(stderr, "Not supported in lite mode.\n");
  return 1;
}
#endif  // ROCKSDB_LITE
back to top