revision-id: 860366b459390b76002324f20ce4b81c1577cf47 (mariadb-10.2.15-71-g860366b4593) parent(s): 01e25bfbbcdcdb2f6fe16b800ec0f740c67fc4d3 author: Oleksandr Byelkin committer: Oleksandr Byelkin timestamp: 2018-06-19 18:27:15 +0200 message: postreview fix --- sql/set_var.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/sql/set_var.cc b/sql/set_var.cc index 62f815d961a..d27751b8ab7 100644 --- a/sql/set_var.cc +++ b/sql/set_var.cc @@ -1004,14 +1004,12 @@ int set_var_collation_client::update(THD *thd) #ifndef EMBEDDED_LIBRARY if (thd->session_tracker.get_tracker(SESSION_SYSVARS_TRACKER)->is_enabled()) { - mysql_mutex_lock(&LOCK_plugin); thd->session_tracker.get_tracker(SESSION_SYSVARS_TRACKER)-> mark_as_changed(thd, (LEX_CSTRING*)Sys_character_set_client_ptr); thd->session_tracker.get_tracker(SESSION_SYSVARS_TRACKER)-> mark_as_changed(thd, (LEX_CSTRING*)Sys_character_set_results_ptr); thd->session_tracker.get_tracker(SESSION_SYSVARS_TRACKER)-> mark_as_changed(thd, (LEX_CSTRING*)Sys_character_set_connection_ptr); - mysql_mutex_unlock(&LOCK_plugin); } thd->session_tracker.mark_as_changed(thd, SESSION_STATE_CHANGE_TRACKER, NULL); #endif //EMBEDDED_LIBRARY