mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
chore: more fixes for macos (#2677)
1.Add back the search files to MacOs build (linker errors are fixed now). 2. Add default maxmemory argument (if not present already) when launching dragonfly process in regression tests. Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
9698f974ea
commit
93debc754c
5 changed files with 6 additions and 59 deletions
|
@ -175,53 +175,4 @@ class ShardDocIndices {
|
|||
absl::flat_hash_map<std::string, std::unique_ptr<ShardDocIndex>> indices_;
|
||||
};
|
||||
|
||||
#if defined(__APPLE__)
|
||||
|
||||
inline ShardDocIndices::ShardDocIndices() : local_mr_{nullptr} {
|
||||
}
|
||||
|
||||
inline ShardDocIndex* ShardDocIndices::GetIndex(std::string_view name) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
inline void ShardDocIndices::InitIndex(const OpArgs& op_args, std::string_view name,
|
||||
std::shared_ptr<DocIndex> index) {
|
||||
}
|
||||
|
||||
inline bool ShardDocIndices::DropIndex(std::string_view name) {
|
||||
return false;
|
||||
}
|
||||
|
||||
inline void ShardDocIndices::RebuildAllIndices(const OpArgs& op_args) {
|
||||
}
|
||||
|
||||
inline std::vector<std::string> ShardDocIndices::GetIndexNames() const {
|
||||
return {};
|
||||
}
|
||||
|
||||
inline void ShardDocIndices::AddDoc(std::string_view key, const DbContext& db_cnt,
|
||||
const PrimeValue& pv) {
|
||||
}
|
||||
|
||||
inline void ShardDocIndices::RemoveDoc(std::string_view key, const DbContext& db_cnt,
|
||||
const PrimeValue& pv) {
|
||||
}
|
||||
|
||||
inline size_t ShardDocIndices::GetUsedMemory() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline SearchStats ShardDocIndices::GetStats() const {
|
||||
return {};
|
||||
}
|
||||
|
||||
inline DocIndexInfo ShardDocIndex::GetInfo() const {
|
||||
return {};
|
||||
}
|
||||
|
||||
inline std::string DocIndexInfo::BuildRestoreCommand() const {
|
||||
return {};
|
||||
}
|
||||
|
||||
#endif // __APPLE__
|
||||
} // namespace dfly
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue