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
This commit is contained in:
hf@deer.(none) 2005-02-18 15:51:55 +04:00
parent 21f1b24c29
commit 93e0107050
2 changed files with 2 additions and 0 deletions

View file

@ -125,4 +125,5 @@ void ft_free_stopwords()
my_free((char*) stopwords3,MYF(0));
stopwords3=0;
}
ft_stopword_file= 0;
}

View file

@ -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();