Fix crash due to heap corruption in main.shm

This commit is contained in:
Vladislav Vaintroub 2016-04-28 22:18:15 +02:00
parent 94bad73dd1
commit 9eba34f086

View File

@ -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 */
create_new_thread(thd);
connect_number++;
set_current_thd(thd);
set_current_thd(0);
continue;
errorconn: