From fefadcb0d4ada0fcb006fe6525f50a03b71f754c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Thu, 22 Aug 2019 02:08:54 +1000 Subject: [PATCH] Fix bug in reading mysql_aws_aurora_hostgroups from file --- 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 655b55b64..e390b990b 100644 --- a/lib/ProxySQL_Admin.cpp +++ b/lib/ProxySQL_Admin.cpp @@ -9279,7 +9279,7 @@ int ProxySQL_Admin::Read_MySQL_Servers_from_configfile() { if (line.lookupValue("writer_is_also_reader", writer_is_also_reader)==false) writer_is_also_reader=0; if (line.lookupValue("new_reader_weight", new_reader_weight)==false) new_reader_weight=0; line.lookupValue("comment", comment); - line.lookupValue("domain_name", comment); + line.lookupValue("domain_name", domain_name); char *o1=strdup(comment.c_str()); char *o=escape_string_single_quotes(o1, false); char *p1=strdup(domain_name.c_str());