From b0c63d27335254cd6da35a77d450e949dbb3a7fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Tue, 29 Sep 2020 10:22:40 +0200 Subject: [PATCH] Added new attributes field to 'Write_MySQL_Users_to_configfile' --- lib/ProxySQL_Config.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ProxySQL_Config.cpp b/lib/ProxySQL_Config.cpp index 5a4a381a9..9ddf788ae 100644 --- a/lib/ProxySQL_Config.cpp +++ b/lib/ProxySQL_Config.cpp @@ -123,7 +123,8 @@ int ProxySQL_Config::Write_MySQL_Users_to_configfile(std::string& data) { addField(data, "backend", r->fields[9], ""); addField(data, "frontend", r->fields[10], ""); addField(data, "max_connections", r->fields[11], ""); - addField(data, "comment", r->fields[12]); + addField(data, "attributes", r->fields[12]); + addField(data, "comment", r->fields[13]); data += "\t}"; isNext = true; }