MDEV-9929 MariaDB segfaults on command "mysqld --version" with ignore-db-dir option on /etc/my.cnf
don't put command-line arguments into opt_ignore_db_dirs - it is supposed to contain a malloc()'ed accumulated list of all ignored dirs
This commit is contained in:
parent
4f133fbf79
commit
3294cd11f8
@ -7800,6 +7800,7 @@ mysqld_get_one_option(int optid,
|
||||
|
||||
|
||||
case OPT_IGNORE_DB_DIRECTORY:
|
||||
opt_ignore_db_dirs= NULL; // will be set in ignore_db_dirs_process_additions
|
||||
if (*argument == 0)
|
||||
ignore_db_dirs_reset();
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user