summaryrefslogtreecommitdiff
path: root/mysql-test/r/information_schema2.result
blob: f82301699a7e48055e8ec5c20eb342796cf14e34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
create table t1 (a char);
insert t1 values ('a'),('t'),('z');
flush status;
select a, exists (select 1 from information_schema.columns where table_schema=concat('tes',a)) from t1;
a	exists (select 1 from information_schema.columns where table_schema=concat('tes',a))
a	0
t	1
z	0
show status like 'created_tmp_tables';
Variable_name	Value
Created_tmp_tables	43
drop table t1;