~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/group_min_max.test

  • Committer: Brian Aker
  • Date: 2009-06-16 00:53:22 UTC
  • mto: This revision was merged to the branch mainline in revision 1094.
  • Revision ID: brian@gaz-20090616005322-w0ode4jul9z8s2y9
Partial fix for tests for tmp

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
drop table if exists t1;
15
15
--enable_warnings
16
16
 
17
 
create table t1 (
 
17
create TEMPORARY table t1 (
18
18
  a1 char(64), a2 char(64), b char(16), c char(16) not null, d char(16), dummy char(64) default ' '
19
19
) ENGINE=MYISAM;
20
20
 
64
64
drop table if exists t2;
65
65
--enable_warnings
66
66
 
67
 
create table t2 (
 
67
create TEMPORARY table t2 (
68
68
  a1 char(64), a2 char(64) not null, b char(16), c char(16), d char(16), dummy char(64) default ' '
69
69
) ENGINE=MYISAM;
70
70
insert into t2 select * from t1;
101
101
drop table if exists t3;
102
102
--enable_warnings
103
103
 
104
 
create table t3 (
 
104
create TEMPORARY table t3 (
105
105
  a1 char(1), a2 char(1), b char(1), c char(4) not null, d char(3), dummy char(1) default ' '
106
106
) ENGINE=MYISAM;
107
107
 
689
689
# Bug #14920 Ordering aggregated result sets with composite primary keys
690
690
# corrupts resultset
691
691
#
692
 
create table t1 (c1 int not null,c2 int not null, primary key(c1,c2)) ENGINE=MYISAM;
 
692
create TEMPORARY table t1 (c1 int not null,c2 int not null, primary key(c1,c2)) ENGINE=MYISAM;
693
693
insert into t1 (c1,c2) values
694
694
(10,1),(10,2),(10,3),(20,4),(20,5),(20,6),(30,7),(30,8),(30,9);
695
695
select distinct c1, c2 from t1 order by c2;