Add a warning if attempting to use RocksDB without it built
This commit is contained in:
parent
4b402b213a
commit
455cb41283
|
@ -396,6 +396,7 @@ IKeyValueStore* keyValueStoreRocksDB(std::string const& path, UID logID, KeyValu
|
|||
#ifdef SSD_ROCKSDB_EXPERIMENTAL
|
||||
return new RocksDBKeyValueStore(path, logID);
|
||||
#else
|
||||
TraceEvent(SevError, "RocksDBEngineInitFailure").detail("Reason", "Built without RocksDB");
|
||||
return keyValueStoreSQLite(path, logID, storeType, checkChecksums, checkIntegrity);
|
||||
#endif // SSD_ROCKSDB_EXPERIMENTAL
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue