mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
BUG#25890 put previous fix in better place
This commit is contained in:
parent
915c9f4dfc
commit
20e5e1d2fb
1 changed files with 5 additions and 5 deletions
|
|
@ -538,6 +538,11 @@ int init_embedded_server(int argc, char **argv, char **groups)
|
|||
sql_print_error("Warning: Can't create thread to manage maintenance");
|
||||
}
|
||||
|
||||
// FIXME initialize binlog_filter and rpl_filter if not already done
|
||||
// corresponding delete is in clean_up()
|
||||
if(!binlog_filter) binlog_filter = new Rpl_filter;
|
||||
if(!rpl_filter) rpl_filter = new Rpl_filter;
|
||||
|
||||
if (opt_init_file)
|
||||
{
|
||||
if (read_init_file(opt_init_file))
|
||||
|
|
@ -547,11 +552,6 @@ int init_embedded_server(int argc, char **argv, char **groups)
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME initialize binlog_filter and rpl_filter if not already done
|
||||
// corresponding delete is in clean_up()
|
||||
if(!binlog_filter) binlog_filter = new Rpl_filter;
|
||||
if(!rpl_filter) rpl_filter = new Rpl_filter;
|
||||
|
||||
execute_ddl_log_recovery();
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue