Commit df6899b3 authored by Sergei Golubchik's avatar Sergei Golubchik

bugfix: mysqld --safe-mode crashes

parent d74fee9e
......@@ -8241,7 +8241,7 @@ mysqld_get_one_option(const struct my_option *opt, const char *argument,
case (int) OPT_SAFE:
opt_specialflag|= SPECIAL_SAFE_MODE | SPECIAL_NO_NEW_FUNC;
SYSVAR_AUTOSIZE(delay_key_write_options, (uint) DELAY_KEY_WRITE_NONE);
SYSVAR_AUTOSIZE(myisam_recover_options, HA_RECOVER_DEFAULT);
myisam_recover_options= HA_RECOVER_DEFAULT;
ha_open_options&= ~(HA_OPEN_DELAY_KEY_WRITE);
#ifdef HAVE_QUERY_CACHE
SYSVAR_AUTOSIZE(query_cache_size, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment