~percona-dev/percona-server/release-5.1.47-12

« back to all changes in this revision

Viewing changes to mysql-test/percona_show_temp_tables.result

  • Committer: kinoyasu
  • Date: 2010-05-20 10:47:38 UTC
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: kinoyasu@gauntlet3-20100520104738-a7n33fbaf8cz7bmq
reorder and adjust mysql-test acript and add simple check for innodb_doublewrite_path option

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
drop table if exists t1,t2,t3;
 
2
drop database if exists showtemp;
 
3
create database if not exists showtemp;
 
4
use test;
 
5
create temporary table t1(id int);
 
6
create temporary table t2(id int);
 
7
create temporary table showtemp.t3(id int);
 
8
insert into t1 values(10),(20),(30),(40);
 
9
insert into showtemp.t3 values(999);
 
10
show temporary tables;
 
11
Temp_tables_in_test
 
12
t2
 
13
t1
 
14
show temporary tables from test;
 
15
Temp_tables_in_test
 
16
t2
 
17
t1
 
18
show temporary tables in showtemp;
 
19
Temp_tables_in_showtemp
 
20
t3
 
21
select table_schema, table_name, engine, table_rows from Information_schema.temporary_tables;
 
22
table_schema    table_name      engine  table_rows
 
23
showtemp        t3      MyISAM  1
 
24
test    t2      MyISAM  0
 
25
test    t1      MyISAM  4
 
26
select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables;
 
27
table_schema    table_name      engine  table_rows
 
28
showtemp        t3      MyISAM  1
 
29
test    t2      MyISAM  0
 
30
test    t1      MyISAM  4
 
31
select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables where table_schema='showtemp';
 
32
table_schema    table_name      engine  table_rows
 
33
showtemp        t3      MyISAM  1
 
34
select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables where table_schema='temp';
 
35
table_schema    table_name      engine  table_rows
 
36
drop table if exists showtemp.t2;
 
37
create temporary table t1(id int);
 
38
create temporary table showtemp.t2(id int);
 
39
show temporary tables;
 
40
Temp_tables_in_test
 
41
t1
 
42
select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables;
 
43
table_schema    table_name      engine  table_rows
 
44
showtemp        t2      MyISAM  0
 
45
test    t1      MyISAM  0
 
46
showtemp        t3      MyISAM  1
 
47
test    t2      MyISAM  0
 
48
test    t1      MyISAM  4
 
49
drop table showtemp.t2;
 
50
drop table t1;
 
51
select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables;
 
52
table_schema    table_name      engine  table_rows
 
53
showtemp        t3      MyISAM  1
 
54
test    t2      MyISAM  0
 
55
test    t1      MyISAM  4
 
56
drop table t1, t2;
 
57
drop table showtemp.t3;
 
58
drop database showtemp;