From e43ff5571e0173acfee0171be2a486bc1961dc5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Wed, 5 Feb 2025 15:27:11 +0100 Subject: [PATCH] Fix missing init of 'MySQL_Session::previous_hostgroup' variable --- lib/MySQL_Session.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/MySQL_Session.cpp b/lib/MySQL_Session.cpp index f1c9a9903..fa04eaf37 100644 --- a/lib/MySQL_Session.cpp +++ b/lib/MySQL_Session.cpp @@ -657,6 +657,7 @@ MySQL_Session::MySQL_Session() { current_hostgroup=-1; default_hostgroup=-1; + previous_hostgroup=-1; locked_on_hostgroup=-1; locked_on_hostgroup_and_all_variables_set=false; next_query_flagIN=-1;