~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/explain.test

pandora-build v0.72 - Moved remaining hard-coded tests into pandora-build
macros.
Add PANDORA_DRIZZLE_BUILD to run the extra checks that drizzle needs that 
plugins would also need to run so we can just use that macro in generated
external plugin builds.
Added support to register_plugins for external plugin building.
Renamed register_plugins.py to pandora-plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
--disable_warnings
5
5
drop table if exists t1;
6
6
--enable_warnings
7
 
create table t1 (id int not null, str char(10), unique(str));
 
7
create TEMPORARY table t1 (id int not null, str char(10), unique(str)) ENGINE=MYISAM;
8
8
explain select * from t1;
9
9
insert into t1 values (1, null),(2, null),(3, "foo"),(4, "bar");
10
10
select * from t1 where str is null;
23
23
 
24
24
explain select 1;
25
25
 
26
 
create table t1 (a int not null);
 
26
create TEMPORARY table t1 (a int not null) ENGINE=myisam;
27
27
explain select count(*) from t1;
28
28
insert into t1 values(1);
29
29
explain select count(*) from t1;
34
34
#
35
35
# Bug #3403 Wrong encoding in EXPLAIN SELECT output
36
36
#
37
 
set names koi8r;
38
 
create table ��� (���0 int, ���1 int, key ���0 (���0), key ���01 (���0,���1));
39
 
insert into ��� (���0) values (1);
40
 
insert into ��� (���0) values (2);
41
 
explain select ���0 from ��� where ���0=1;
42
 
drop table ���;
43
 
set names latin1;
 
37
create TEMPORARY table ☃ (☢ int, ☣ int, key ☢ (☢), key ☣ (☢,☣)) ENGINE=MYISAM;
 
38
insert into ☃ (☢) values (1);
 
39
insert into ☃ (☢) values (2);
 
40
explain select ☢ from ☃ where ☢=1;
 
41
drop table ☃;
44
42
 
45
43
# End of 4.1 tests
46
44