Crash when trying to set up the rocks engine without building rocks
This commit is contained in:
parent
2872673763
commit
d310a45cb4
|
@ -409,6 +409,7 @@ IKeyValueStore* keyValueStoreRocksDB(std::string const& path, UID logID, KeyValu
|
|||
return new RocksDBKeyValueStore(path, logID);
|
||||
#else
|
||||
TraceEvent(SevError, "RocksDBEngineInitFailure").detail("Reason", "Built without RocksDB");
|
||||
return keyValueStoreSQLite(path, logID, storeType, checkChecksums, checkIntegrity);
|
||||
ASSERT(false);
|
||||
return nullptr;
|
||||
#endif // SSD_ROCKSDB_EXPERIMENTAL
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue