1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

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
This commit is contained in:
unknown
2007-01-27 13:12:59 +01:00
parent 823498926c
commit 452e07679b

View File

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