mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Always initialize THD::thread_stack: it's used in
check_stack_overrun().
This commit is contained in:
@ -159,6 +159,7 @@ void udf_init()
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
initialized = 1;
|
||||
new_thd->thread_stack= (char*) &new_thd;
|
||||
new_thd->store_globals();
|
||||
new_thd->db= my_strdup("mysql", MYF(0));
|
||||
new_thd->db_length=5;
|
||||
|
Reference in New Issue
Block a user