diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2019-05-08 15:00:16 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2019-05-08 15:00:16 +0400 |
commit | 9d805004d8e7913a98d25142d22627a4a6e39063 (patch) | |
tree | a88bf315fd4f0a189edc07928bfed1653a2ee882 /sql/session_tracker.cc | |
parent | 88961a28e2694db18acb6d355089e52ac2b9a769 (diff) | |
download | mariadb-git-9d805004d8e7913a98d25142d22627a4a6e39063.tar.gz |
Added missing reset_changed()
Causes valgrind warnings, harmless otherwise.
Part of MDEV-14984 - regression in connect performance
Diffstat (limited to 'sql/session_tracker.cc')
-rw-r--r-- | sql/session_tracker.cc | 1 |
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; } |