mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 02:46:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			627 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			627 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 <my_global.h>
 | |
| #include "../rdb_comparator.h"
 | |
| #include "rocksdb/ldb_tool.h"
 | |
| 
 | |
| int main(int argc, char **argv) {
 | |
|   MY_INIT(argv[0]);
 | |
|   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;
 | |
| }
 | 
