File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,6 +76,12 @@ class configuration {
7676 */
7777 void set_instance_id (std::string_view instance_id) noexcept ;
7878
79+ /* *
80+ * @brief setter for db_name
81+ * @param db_name the database name
82+ */
83+ void set_db_name (std::string_view db_name) noexcept ;
84+
7985 /* *
8086 * @brief setter for recover_max_parallelism
8187 * @param recover_max_parallelism the number of recover_max_parallelism
@@ -90,6 +96,7 @@ class configuration {
9096 boost::filesystem::path metadata_location_{};
9197
9298 std::string instance_id_{};
99+ std::string db_name_{};
93100
94101 int recover_max_parallelism_{default_recover_max_parallelism};
95102
Original file line number Diff line number Diff line change @@ -47,4 +47,8 @@ void configuration::set_instance_id(std::string_view instance_id) noexcept {
4747 instance_id_ = instance_id;
4848}
4949
50+ void configuration::set_db_name (std::string_view db_name) noexcept {
51+ db_name_ = db_name;
52+ }
53+
5054} // namespace limestone::api
You can’t perform that action at this time.
0 commit comments