diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2019-03-15 11:52:26 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2019-05-03 14:14:27 +0400 |
commit | 2be28a91b15010c5e6146e78e78fbe10a9b86153 (patch) | |
tree | 7011f81fb604bdba5c6da4a7859f50fb306cbad4 /sql/mysqld.cc | |
parent | 19d5ddccfde04c6b336bb4974407ecde4fb6fbc6 (diff) | |
download | mariadb-git-2be28a91b15010c5e6146e78e78fbe10a9b86153.tar.gz |
Cleanup session tracker API
- Session_sysvars_tracker::server_init_check() -> sysvartrack_validate_value()
- Session_sysvars_tracker::check_var_list() -> sysvartrack_validate_value()
- Session_sysvars_tracker::server_init_process() -> sysvartrack_global_update()
- sysvartrack_reprint_value() -> sysvartrack_global_update()
- sysvartrack_value_len() -> sysvartrack_session_value_ptr()
- sysvartrack_value_construct() -> sysvartrack_session_value_ptr()
- sysvartrack_update() -> Session_sysvars_tracker::update()
- Session_tracker::server_boot_verify() -> session_tracker_init()
- sysvar_tracker() -> /dev/null
Part of MDEV-14984 - regression in connect performance
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r-- | sql/mysqld.cc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc index f0ffa7eae8c..73dd7ce36af 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -5420,14 +5420,8 @@ static int init_server_components() #endif #ifndef EMBEDDED_LIBRARY - { - if (Session_tracker::server_boot_verify(system_charset_info)) - { - sql_print_error("The variable session_track_system_variables has " - "invalid values."); - unireg_abort(1); - } - } + if (session_tracker_init()) + return 1; #endif //EMBEDDED_LIBRARY /* we do want to exit if there are any other unknown options */ |