mirror of
				https://github.com/Minres/conan-recipes.git
				synced 2025-10-31 06:01:53 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			262 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			262 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <cassert>
 | |
| #include "rocksdb/db.h"
 | |
| 
 | |
| int main()
 | |
| {
 | |
|   rocksdb::DB * db;
 | |
|   rocksdb::Options options;
 | |
| 
 | |
|   options.create_if_missing = true;
 | |
| 
 | |
|   rocksdb::Status status = rocksdb::DB::Open(options, "/tmp/testrocksdb", &db);
 | |
| 
 | |
|   assert(status.ok());
 | |
| 
 | |
|   return 0;
 | |
| }
 |