Commit 9d805004 authored by Sergey Vojtovich's avatar Sergey Vojtovich

Added missing reset_changed()

Causes valgrind warnings, harmless otherwise.

Part of MDEV-14984 - regression in connect performance
parent 88961a28
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment