From f1b3687f5d34ab925d73d15a660c2a82d5f7e727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Tue, 27 Apr 2021 09:28:25 +0200 Subject: [PATCH] Fixed typo using 'cluster_mysql_query_rules_save_to_disk' instead of 'cluster_mysql_users_save_to_disk' in 'pull_mysql_users_from_peer' --- lib/ProxySQL_Cluster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ProxySQL_Cluster.cpp b/lib/ProxySQL_Cluster.cpp index e47f4011c..ec438f0b5 100644 --- a/lib/ProxySQL_Cluster.cpp +++ b/lib/ProxySQL_Cluster.cpp @@ -1001,7 +1001,7 @@ void ProxySQL_Cluster::pull_mysql_users_from_peer() { proxy_info("Cluster: Fetching MySQL Users from peer %s:%d completed\n", hostname, port); proxy_info("Cluster: Loading to runtime MySQL Users from peer %s:%d\n", hostname, port); GloAdmin->init_users(); - if (GloProxyCluster->cluster_mysql_query_rules_save_to_disk == true) { + if (GloProxyCluster->cluster_mysql_users_save_to_disk == true) { proxy_info("Cluster: Saving to disk MySQL Users from peer %s:%d\n", hostname, port); GloAdmin->flush_mysql_users__from_memory_to_disk(); } else {