Made the new member functions public. If these are only accessible internally by this class, or by the web interface plugin, consider making private and friend class to the plugin. As the extent of their usage is not yet known to me, making them public for now. Caution on adding new lookup entries unnecessarily.

v2.x-3674
Jared Jetsel 5 years ago
parent 1adaf74170
commit 012cf16eaa

@ -138,7 +138,6 @@ class ProxySQL_Statistics {
SQLite3_result * get_MySQL_Query_Cache_metrics(int interval);
void disk_upgrade_mysql_connections();
private:
/**
* @brief Retreives the variable id mapped to the provided variable name associated in the history_mysql_variables_lookup table.
*
@ -152,7 +151,6 @@ class ProxySQL_Statistics {
/** @brief If the variable_name_id_map is empty, then load its contents from all of the history_variables_lookup table records */
void load_variable_name_id_map_if_empty();
private:
/** @brief Map with the key being the variable_name and the value being the variable_id, used for history_mysql_variables data. Matches the history_mysql_variables_lookup. */
std::map<std::string, int64_t> variable_name_id_map;

Loading…
Cancel
Save