~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/group_min_max.result

  • Committer: Brian Aker
  • Date: 2009-08-24 19:19:39 UTC
  • mfrom: (1121.1.6 merge)
  • Revision ID: brian@gaz-20090824191939-xcn528r7gwjc48h3
Merge Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
create index idx_t1_2 on t1 (a1,a2,b);
41
41
analyze table t1;
42
42
Table   Op      Msg_type        Msg_text
43
 
test.t1 analyze status  Table is already up to date
 
43
test.t1 analyze note    The storage engine for the table doesn't support analyze
44
44
drop table if exists t2;
45
45
create TEMPORARY table t2 (
46
46
a1 char(64), a2 char(64) not null, b char(16), c char(16), d char(16), dummy char(64) default ' '
68
68
create index idx_t2_2 on t2 (a1,a2,b);
69
69
analyze table t2;
70
70
Table   Op      Msg_type        Msg_text
71
 
test.t2 analyze status  Table is already up to date
 
71
test.t2 analyze note    The storage engine for the table doesn't support analyze
72
72
drop table if exists t3;
73
73
create TEMPORARY table t3 (
74
74
a1 char(1), a2 char(1), b char(1), c char(4) not null, d char(3), dummy char(1) default ' '
130
130
create index idx_t3_2 on t3 (a1,a2,b);
131
131
analyze table t3;
132
132
Table   Op      Msg_type        Msg_text
133
 
test.t3 analyze status  Table is already up to date
 
133
test.t3 analyze note    The storage engine for the table doesn't support analyze
134
134
explain select a1, min(a2) from t1 group by a1;
135
135
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
136
136
1       SIMPLE  t1      range   NULL    idx_t1_1        518     NULL    5       Using index for group-by