~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/union.result

  • Committer: Patrick Crews
  • Date: 2010-08-17 17:42:29 UTC
  • mfrom: (1711.1.24 build)
  • Revision ID: gleebix@gmail.com-20100817174229-e28p5025ndgkkxif
Rollup patch - optimizer fixes, mutex removal, client cleanup, translations update

Show diffs side-by-side

added added

removed removed

Lines of Context:
505
505
explain (select * from t1 where a=1) union (select * from t1 where b=1);
506
506
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
507
507
1       PRIMARY t1      const   PRIMARY PRIMARY 4       const   1       
508
 
2       UNION   t1      ref     b       b       5       const   1       Using index
 
508
2       UNION   t1      ref     b       b       5       const   1       Using where; Using index
509
509
NULL    UNION RESULT    <union1,2>      ALL     NULL    NULL    NULL    NULL    NULL    
510
510
drop table t1,t2;
511
511
create table t1 (   id int not null auto_increment, primary key (id)   ,user_name text );