fix: Add GenAI variables to runtime_global_variables population

Add flush_genai_variables___runtime_to_database() call to the central
location where all modules populate runtime_global_variables table.
This was missing, causing genai-* variables to not appear in
runtime_global_variables.
pull/5310/head
Rene Cannao 3 months ago
parent 6ffb59b856
commit 1eb42c57d0

@ -1586,6 +1586,7 @@ bool ProxySQL_Admin::GenericRefreshStatistics(const char *query_no_space, unsign
flush_ldap_variables___runtime_to_database(admindb, false, false, false, true);
flush_pgsql_variables___runtime_to_database(admindb, false, false, false, true);
flush_mcp_variables___runtime_to_database(admindb, false, false, false, true, false);
flush_genai_variables___runtime_to_database(admindb, false, false, false, true, false);
pthread_mutex_unlock(&GloVars.checksum_mutex);
}
if (runtime_mysql_servers) {

Loading…
Cancel
Save