~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/select.result

  • Committer: Stewart Smith
  • Date: 2010-12-02 06:58:45 UTC
  • mto: (2021.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1971.
  • Revision ID: stewart@flamingspork.com-20101202065845-th85agu1pl15seh6
update select and subselect_mat test results EXPLAIN output due to improvements in innodb stats

Show diffs side-by-side

added added

removed removed

Lines of Context:
2993
2993
EXPLAIN SELECT b FROM t1, t2 WHERE b=c AND a=1;
2994
2994
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
2995
2995
1       SIMPLE  t1      const   PRIMARY PRIMARY 4       const   1       
2996
 
1       SIMPLE  t2      ref     idx     idx     4       const   7       Using index
 
2996
1       SIMPLE  t2      ref     idx     idx     4       const   8       Using index
2997
2997
EXPLAIN SELECT b FROM t1, t2 WHERE b=c AND a=4;
2998
2998
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
2999
2999
1       SIMPLE  t1      const   PRIMARY PRIMARY 4       const   1       
3011
3011
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
3012
3012
1       SIMPLE  t1      const   PRIMARY PRIMARY 4       const   1       
3013
3013
1       SIMPLE  t2      const   idx1    NULL    NULL    NULL    1       
3014
 
1       SIMPLE  t3      ref     idx1    idx1    5       const   2       Using where
 
3014
1       SIMPLE  t3      ALL     idx1    NULL    NULL    NULL    5       Using where
3015
3015
SELECT * FROM t1 LEFT JOIN t2 ON t2.b=t1.a INNER JOIN t3 ON t3.d=t1.id
3016
3016
WHERE t1.id=2;
3017
3017
id      a       b       c       d       e
3225
3225
AND t1.ts BETWEEN "2006-01-01" AND "2006-12-31";
3226
3226
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
3227
3227
1       SIMPLE  t2      const   PRIMARY PRIMARY 4       const   1       
3228
 
1       SIMPLE  t1      range   ts      ts      9       NULL    1       Using where
 
3228
1       SIMPLE  t1      range   ts      ts      9       NULL    2       Using where
3229
3229
SELECT * FROM t1 LEFT JOIN t2 ON (t1.a=t2.a) WHERE t1.a=30
3230
3230
AND t1.ts BETWEEN t2.dt1 AND t2.dt2
3231
3231
AND t1.ts BETWEEN "2006-01-01" AND "2006-12-31";