diff options
author | Monty <monty@mariadb.org> | 2021-03-19 18:35:17 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2021-03-20 14:15:45 +0200 |
commit | 7bc106afd30000a6a8c082bb95cc6af3abefc486 (patch) | |
tree | 931b11a52e4b427259157a4614ecb7565c60eef1 /sql/table.cc | |
parent | 5eb75508aad76c0e0f1f9d616b01ed31c4b2fb9e (diff) | |
download | mariadb-git-7bc106afd30000a6a8c082bb95cc6af3abefc486.tar.gz |
Fixed crash with listen_sockets when shutdown and kill was run simultaneously
Problem was that listen_sockets where not properly protected.
Fixed by adding LOCK_start_thread around closing socket loop.
Other things:
- Removed not necessary test in close_socket(). With the current code
'sock' can never be INVALID_SOCKET.
Diffstat (limited to 'sql/table.cc')
0 files changed, 0 insertions, 0 deletions