1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/storage/rocksdb/tools/mysql_ldb.cc
Sergei Petrunia ebfc4e6ad0 Initial commit,
copy of
commit 86587affafe77ef555f7c3839839de44f0f203f3
Author: Tian Xia <tianx@fb.com>
Date:   Tue Oct 4 10:01:52 2016 -0700

    Allow filtering of show commands through admission control
2016-10-06 17:24:09 +00:00

18 lines
583 B
C++

// Copyright (c) 2013, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
//
#include "rocksdb/ldb_tool.h"
#include "../rdb_comparator.h"
int main(int argc, char** argv) {
rocksdb::Options db_options;
myrocks::Rdb_pk_comparator pk_comparator;
db_options.comparator= &pk_comparator;
rocksdb::LDBTool tool;
tool.Run(argc, argv, db_options);
return 0;
}