Added missing reset_changed()

Causes valgrind warnings, harmless otherwise.

Part of MDEV-14984 - regression in connect performance
This commit is contained in:
Sergey Vojtovich 2019-05-08 15:00:16 +04:00
parent 88961a28e2
commit 9d805004d8

View File

@ -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;
}