mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-33031 Assertion failure upon reading from performance schema with binlog enabled
need to protect access to thread-local cache_mngr with LOCK_thd_data technically only access from different threads has to be protected, but this is the SHOW STATUS code path, so the difference is neglectable
This commit is contained in:
@ -81,5 +81,11 @@ select NAME, TYPE, PROCESSLIST_COMMAND, PROCESSLIST_STATE
|
||||
from performance_schema.threads
|
||||
where PROCESSLIST_ID = @slave_sql_pid;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-33031 Assertion failure upon reading from performance schema with binlog enabled
|
||||
--echo #
|
||||
select variable_name, variable_value from performance_schema.status_by_thread
|
||||
where variable_name like '%impossible%'; # should not crash
|
||||
|
||||
--source include/rpl_end.inc
|
||||
|
||||
|
Reference in New Issue
Block a user