From bb3e589e0ccfb62737baef2af629897f94f7d4d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Sun, 9 Aug 2015 17:30:54 +0000 Subject: [PATCH] Small bug in stats_mysql_processlist --- lib/ProxySQL_Admin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ProxySQL_Admin.cpp b/lib/ProxySQL_Admin.cpp index f0f3df07f..9759cf1e8 100644 --- a/lib/ProxySQL_Admin.cpp +++ b/lib/ProxySQL_Admin.cpp @@ -872,7 +872,7 @@ void admin_session_handler(MySQL_Session *sess, ProxySQL_Admin *pa, PtrSize_t *p bool stats_mysql_processlist=false; bool stats_mysql_connection_pool=false; if (strstr(query_no_space,"stats_mysql_processlist")) - stats_mysql_processlist; + stats_mysql_processlist=true; if (strstr(query_no_space,"stats_mysql_connection_pool")) stats_mysql_connection_pool=true; if (stats_mysql_processlist || stats_mysql_connection_pool) {