mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
43c6953fa1
Early evaluation of subqueries in the WHERE conditions on I_S.*_STATUS tables, otherwise the subquery on this same table will try to acquire LOCK_status twice.
9 lines
496 B
Text
9 lines
496 B
Text
|
|
#
|
|
# MDEV-4029 SELECT on information_schema using a subquery locks up the information_schema table due to incorrect mutexes handling
|
|
#
|
|
select variable_name from information_schema.session_status where variable_name =
|
|
(select variable_name from information_schema.session_status where variable_name = 'uptime');
|
|
select variable_name from information_schema.session_variables where variable_name =
|
|
(select variable_name from information_schema.session_variables where variable_name = 'basedir');
|
|
|