Commit 9eba34f0 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix crash due to heap corruption in main.shm

parent 94bad73d
...@@ -6642,7 +6642,7 @@ pthread_handler_t handle_connections_shared_memory(void *arg) ...@@ -6642,7 +6642,7 @@ pthread_handler_t handle_connections_shared_memory(void *arg)
thd->security_ctx->host= my_strdup(my_localhost, MYF(0)); /* Host is unknown */ thd->security_ctx->host= my_strdup(my_localhost, MYF(0)); /* Host is unknown */
create_new_thread(thd); create_new_thread(thd);
connect_number++; connect_number++;
set_current_thd(thd); set_current_thd(0);
continue; continue;
errorconn: errorconn:
......
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