mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
cc74bb3178
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. sql/item.h: remove unused method
8 lines
402 B
Text
8 lines
402 B
Text
select variable_name from information_schema.session_status where variable_name =
|
|
(select variable_name from information_schema.session_status where variable_name = 'uptime');
|
|
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');
|
|
variable_name
|
|
BASEDIR
|