diff options
Diffstat (limited to 'sql/tztime.cc')
-rw-r--r-- | sql/tztime.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/tztime.cc b/sql/tztime.cc index 1d06d4d0b8e..e73d3f237ad 100644 --- a/sql/tztime.cc +++ b/sql/tztime.cc @@ -1532,6 +1532,7 @@ my_tz_init(THD *org_thd, const char *default_tzname, my_bool bootstrap) */ if (!(thd= new THD)) DBUG_RETURN(1); + thd->thread_stack= (char*) &thd; thd->store_globals(); /* Init all memory structures that require explicit destruction */ |