MXS-2556 Add persist_performance_data arg to smartrouter

This commit is contained in:
Johan Wikman
2019-06-11 11:59:08 +03:00
parent 04fdaf1fdb
commit ba4099799f
2 changed files with 21 additions and 7 deletions

View File

@ -46,11 +46,17 @@ public:
return m_master.get();
}
bool persist_performance_data() const
{
return static_cast<bool>(m_persist_performance_data);
}
private:
bool post_configure(const MXS_CONFIG_PARAMETER& params) override;
private:
config::Server m_master;
config::Server m_master;
config::Bool m_persist_performance_data;
};
static SmartRouter* create(SERVICE* pService, MXS_CONFIG_PARAMETER* pParams);