mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
wt_thd_lazy_init(), per-thread deadlock search depths and timeouts
mysys/array.c: lazy alloc in dynamic array sql-common/client.c: for dynamic array, specify init_alloc==alloc_increment explicitly sql/mysqld.cc: per-thread deadlock search depths and timeouts sql/set_var.cc: per-thread deadlock search depths and timeouts sql/sql_class.h: per-thread deadlock search depths and timeouts
This commit is contained in:
@ -996,7 +996,7 @@ static int add_init_command(struct st_mysql_options *options, const char *cmd)
|
||||
{
|
||||
options->init_commands= (DYNAMIC_ARRAY*)my_malloc(sizeof(DYNAMIC_ARRAY),
|
||||
MYF(MY_WME));
|
||||
init_dynamic_array(options->init_commands,sizeof(char*),0,5 CALLER_INFO);
|
||||
init_dynamic_array(options->init_commands,sizeof(char*),5,5 CALLER_INFO);
|
||||
}
|
||||
|
||||
if (!(tmp= my_strdup(cmd,MYF(MY_WME))) ||
|
||||
|
Reference in New Issue
Block a user