[MDEV-9156] Fix tp_add_connection()'s error handling Created: 2015-11-19  Updated: 2015-12-04  Resolved: 2015-12-04

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Affects Version/s: 5.5, 10.0, 10.1
Fix Version/s: 10.0.23, 10.1.10

Type: Bug Priority: Major
Reporter: Vladislav Vaintroub Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None


 Description   

As noted by Monty - tp_add_connection can call tp_remove_connection in error handling, however the later function also calls my_thread_end(), which it should not be doing -
tp_add_connection does not run in threadpool' thread, but in a dedicated server thread.


Generated at Thu Feb 08 07:32:33 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.