From 1eb42c57d02ed0ee8385713c3c1233fddec53d88 Mon Sep 17 00:00:00 2001 From: Rene Cannao Date: Sat, 17 Jan 2026 01:05:05 +0000 Subject: [PATCH] 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. --- lib/ProxySQL_Admin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ProxySQL_Admin.cpp b/lib/ProxySQL_Admin.cpp index 1d6893c57..a30614a02 100644 --- a/lib/ProxySQL_Admin.cpp +++ b/lib/ProxySQL_Admin.cpp @@ -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) {