Commit 452e0767 authored by unknown's avatar unknown

BUG#25890 mysqltest_embedded crashes on start

very temporary fix


libmysqld/lib_sql.cc:
  BUG#25890 mysqltest_embedded crashes on start
  
  temporary fix - initialize needed global variables
parent 82349892
...@@ -547,6 +547,11 @@ int init_embedded_server(int argc, char **argv, char **groups) ...@@ -547,6 +547,11 @@ 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(); execute_ddl_log_recovery();
return 0; return 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