# # MDEV-33150 double-locking of LOCK_thd_kill in performance_schema.session_status # set @old_innodb_io_capacity=@@global.innodb_io_capacity; set @old_innodb_io_capacity_max=@@global.innodb_io_capacity_max; select * from performance_schema.session_status limit 0; VARIABLE_NAME VARIABLE_VALUE set max_session_mem_used=32768; select * from performance_schema.session_status; ERROR HY000: The MariaDB server is running with the --max-session-mem-used=32768 option so it cannot execute this statement set global innodb_io_capacity_max=100; Warnings: Warning 1210 Setting innodb_io_capacity_max 100 lower than innodb_io_capacity 200. Warning 1210 Setting innodb_io_capacity to 100 set max_session_mem_used=default; set global innodb_io_capacity=@old_innodb_io_capacity; Warnings: Warning 1210 Setting innodb_io_capacity to 200 higher than innodb_io_capacity_max 100 Warning 1210 Setting innodb_max_io_capacity to 400 set global innodb_io_capacity_max=@old_innodb_io_capacity_max;