diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2021-06-04 15:00:34 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2021-06-04 15:02:48 +0200 |
commit | b1b4d67bcda32472f5b9c46465bff9db86904a00 (patch) | |
tree | 34fb0274eda78105aa186e3c8b07e2c4e6b55593 /sql/item_subselect.cc | |
parent | 2d38c5e64edbfdc8368954775880c2d677fbd195 (diff) | |
download | mariadb-git-b1b4d67bcda32472f5b9c46465bff9db86904a00.tar.gz |
MDEV-21373 DBUG compilation - bad synchronization in ha_heap::external_lock()
ha_heap::external_lock contains some consistency checks for the table,#
in a debug compilation.
This code suffers from lack of synchronization, in a rare case
where mysql_lock_tables() fail, and unlock is forced, even if lock was
not previously taken.
To workaround, require EXTRA_DEBUG compile definition in order to activate
the consistency checks.The code still might be useful in some cases - but
the audience are developers looking for errors in single-threaded scenarios,
rather than multiuser stress-tests.
Diffstat (limited to 'sql/item_subselect.cc')
0 files changed, 0 insertions, 0 deletions