Bug#31210 - INSERT DELAYED crashes server when used on

            partitioned table

Post-merge fix

A new need for lex initialization arose.
parent d7ce48a9
...@@ -9073,6 +9073,7 @@ pthread_handler_t ndb_util_thread_func(void *arg __attribute__((unused))) ...@@ -9073,6 +9073,7 @@ pthread_handler_t ndb_util_thread_func(void *arg __attribute__((unused)))
thd->thread_stack= (char*)&thd; /* remember where our stack is */ thd->thread_stack= (char*)&thd; /* remember where our stack is */
if (thd->store_globals()) if (thd->store_globals())
goto ndb_util_thread_fail; goto ndb_util_thread_fail;
lex_start(thd);
thd->init_for_queries(); thd->init_for_queries();
thd->version=refresh_version; thd->version=refresh_version;
thd->main_security_ctx.host_or_ip= ""; thd->main_security_ctx.host_or_ip= "";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment