1
0
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:
konstantin@mysql.com
2005-11-23 21:18:10 +03:00
parent 83d692da88
commit b1d951d462
7 changed files with 17 additions and 2 deletions

View File

@ -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;