diff options
author | konstantin@mysql.com <> | 2005-11-23 21:18:10 +0300 |
---|---|---|
committer | konstantin@mysql.com <> | 2005-11-23 21:18:10 +0300 |
commit | b1d951d4626cb70375c262de9ba4a67a24d85e57 (patch) | |
tree | 82cf7863e471a48c80281113d66a428d0a2c3a1c /sql/sql_insert.cc | |
parent | 83d692da888281576b7f7dd4fee1faa5be7eff68 (diff) | |
download | mariadb-git-b1d951d4626cb70375c262de9ba4a67a24d85e57.tar.gz |
Always initialize THD::thread_stack: it's used in
check_stack_overrun().
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 088b55c2fd8..5e9ca203632 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -1723,6 +1723,7 @@ pthread_handler_t handle_delayed_insert(void *arg) #endif DBUG_ENTER("handle_delayed_insert"); + thd->thread_stack= (char*) &thd; if (init_thr_lock() || thd->store_globals()) { thd->fatal_error(); |