mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Fix for the bug #7344 (multiple server_init/server_end lead to crash)
Some variable wasn't moved to the initial state during mysql_server_end myisam/ft_stopwords.c: resetting ft_stopword_file sql/mysqld.cc: free_charsets() call added
This commit is contained in:
parent
95d3d98b00
commit
d76b88b65c
2 changed files with 2 additions and 0 deletions
|
@ -125,4 +125,5 @@ void ft_free_stopwords()
|
|||
my_free((char*) stopwords3,MYF(0));
|
||||
stopwords3=0;
|
||||
}
|
||||
ft_stopword_file= 0;
|
||||
}
|
||||
|
|
|
@ -950,6 +950,7 @@ void clean_up(bool print_message)
|
|||
item_user_lock_free();
|
||||
lex_free(); /* Free some memory */
|
||||
set_var_free();
|
||||
free_charsets();
|
||||
#ifdef HAVE_DLOPEN
|
||||
if (!opt_noacl)
|
||||
udf_free();
|
||||
|
|
Loading…
Reference in a new issue