From 012cf16eaa2d0c715e421dd4daa16b0c919c8cbc Mon Sep 17 00:00:00 2001 From: Jared Jetsel Date: Wed, 27 Oct 2021 13:37:49 -0700 Subject: [PATCH] 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. --- include/ProxySQL_Statistics.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/ProxySQL_Statistics.hpp b/include/ProxySQL_Statistics.hpp index 0f3b17693..8eca5847c 100644 --- a/include/ProxySQL_Statistics.hpp +++ b/include/ProxySQL_Statistics.hpp @@ -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 variable_name_id_map;