summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2019-01-20 12:51:20 +0400
committerSergey Vojtovich <svoj@mariadb.org>2019-01-28 17:39:07 +0400
commit891be49a36ebb951cd90d64d1b4c1cc633af1fdf (patch)
tree2388b9b4e75396e0423a2522eee02bd85d02097c /libmysqld
parentc88fd54d171fdba6aad3f7e16a4060cca03143d3 (diff)
downloadmariadb-git-891be49a36ebb951cd90d64d1b4c1cc633af1fdf.tar.gz
Simplified THD::current_linfo locking
LOG_INFO::lock was useless. It could've only protect against concurrent iterators execution, which was already protected by LOCK_thread_count. Use LOCK_thd_data instead of LOCK_thread_count as a protection against THD::current_linfo reset. Aim is to reduce usage of LOCK_thread_count and COND_thread_count. Part of MDEV-15135.
Diffstat (limited to 'libmysqld')
0 files changed, 0 insertions, 0 deletions