diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-01-20 00:46:51 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-01-20 00:46:51 +0100 |
commit | cc74bb3178b0296e9865ebd42588709c984b722e (patch) | |
tree | ef9b73b84788393c6d0854d443cc2bdd602c8a68 /mysql-test/r/information_schema2.result | |
parent | 48bf57b02e8792ac6f1c42aac4683b5fac93d9ad (diff) | |
download | mariadb-git-cc74bb3178b0296e9865ebd42588709c984b722e.tar.gz |
MDEV-4029 SELECT on information_schema using a subquery locks up the information_schema table due to incorrect mutexes handling
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
Diffstat (limited to 'mysql-test/r/information_schema2.result')
-rw-r--r-- | mysql-test/r/information_schema2.result | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/r/information_schema2.result b/mysql-test/r/information_schema2.result new file mode 100644 index 00000000000..60a20944839 --- /dev/null +++ b/mysql-test/r/information_schema2.result @@ -0,0 +1,8 @@ +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 |