| 1 | // Copyright (c) 2013, Facebook, Inc. All rights reserved. |
|---|---|
| 2 | // This source code is licensed under the BSD-style license found in the |
| 3 | // LICENSE file in the root directory of this source tree. An additional grant |
| 4 | // of patent rights can be found in the PATENTS file in the same directory. |
| 5 | // |
| 6 | #include <my_global.h> |
| 7 | #include "../rdb_comparator.h" |
| 8 | #include "rocksdb/ldb_tool.h" |
| 9 | |
| 10 | int main(int argc, char **argv) { |
| 11 | rocksdb::Options db_options; |
| 12 | myrocks::Rdb_pk_comparator pk_comparator; |
| 13 | db_options.comparator = &pk_comparator; |
| 14 | |
| 15 | rocksdb::LDBTool tool; |
| 16 | tool.Run(argc, argv, db_options); |
| 17 | return 0; |
| 18 | } |
| 19 |