summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/session_tracker.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/session_tracker.cc b/sql/session_tracker.cc
index f4dab11bb42..778b65889a0 100644
--- a/sql/session_tracker.cc
+++ b/sql/session_tracker.cc
@@ -354,6 +354,7 @@ bool Session_sysvars_tracker::enable(THD *thd)
m_parsed= false;
m_enabled= thd->variables.session_track_system_variables &&
*thd->variables.session_track_system_variables;
+ reset_changed();
return false;
}