Crash when trying to set up the rocks engine without building rocks

This commit is contained in:
Daniel Smith 2020-06-10 20:19:06 +00:00
parent 2872673763
commit d310a45cb4
1 changed files with 2 additions and 1 deletions

View File

@ -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
}