Expose Utility function StringToMap() (#1306)
This commit is contained in:
parent
8ce1b8440a
commit
85bb308258
@ -305,6 +305,9 @@ Status GetMemTableRepFactoryFromString(
|
|||||||
Status GetOptionsFromString(const Options& base_options,
|
Status GetOptionsFromString(const Options& base_options,
|
||||||
const std::string& opts_str, Options* new_options);
|
const std::string& opts_str, Options* new_options);
|
||||||
|
|
||||||
|
Status StringToMap(const std::string& opts_str,
|
||||||
|
std::unordered_map<std::string, std::string>* opts_map);
|
||||||
|
|
||||||
// Request stopping background work, if wait is true wait until it's done
|
// Request stopping background work, if wait is true wait until it's done
|
||||||
void CancelAllBackgroundWork(DB* db, bool wait = false);
|
void CancelAllBackgroundWork(DB* db, bool wait = false);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user