conan-recipes/RocksDB/test_package/rocksdb.cpp

17 lines
262 B
C++
Raw Normal View History

2020-04-05 12:40:20 +02:00
#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;
}