diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2020-06-11 23:12:48 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2020-06-12 12:14:14 +0200 |
commit | 82f3ceed12063ac400a070b9c1972e139c59f385 (patch) | |
tree | 856b7e5f0b2afc73231311b5b84e698f751fa1f7 /sql/sys_vars.cc | |
parent | 8ec21afc8ed2df3b02815a45624b3287d5ffceae (diff) | |
download | mariadb-git-82f3ceed12063ac400a070b9c1972e139c59f385.tar.gz |
MDEV-16470: switch off user variables (and fixes of its support)bb-10.5-MDEV-22550
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r-- | sql/sys_vars.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc index e42ca9ff360..1badca024fd 100644 --- a/sql/sys_vars.cc +++ b/sql/sys_vars.cc @@ -6647,6 +6647,7 @@ static Sys_var_mybool Sys_session_track_state_change( ON_UPDATE(update_session_track_state_change)); +#ifdef USER_VAR_TRACKING static bool update_session_track_user_variables(sys_var *self, THD *thd, enum_var_type type) { @@ -6661,6 +6662,7 @@ static Sys_var_mybool Sys_session_track_user_variables( NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0), ON_UPDATE(update_session_track_user_variables)); +#endif // USER_VAR_TRACKING #endif //EMBEDDED_LIBRARY |