~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/union.test

  • Committer: Brian Aker
  • Date: 2010-02-15 18:29:31 UTC
  • mto: (1273.13.68 build)
  • mto: This revision was merged to the branch mainline in revision 1303.
  • Revision ID: brian@gaz-20100215182931-ooy48h72plspoehy
More removal of show code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
474
474
insert t1 select a+1, a+b from t1;
475
475
insert t1 select a+1, a+b from t1;
476
476
FLUSH STATUS;
 
477
--replace_column 2 #
477
478
show status like 'Slow_queries';
478
479
select count(*) from t1 where a=7;
 
480
--replace_column 2 #
479
481
show status like 'Slow_queries';
480
482
select count(*) from t1 where b=13;
 
483
--replace_column 2 #
481
484
show status like 'Slow_queries';
482
485
select count(*) from t1 where b=13 union select count(*) from t1 where a=7;
 
486
--replace_column 2 #
483
487
show status like 'Slow_queries';
484
488
select count(*) from t1 where a=7 union select count(*) from t1 where b=13;
 
489
--replace_column 2 #
485
490
show status like 'Slow_queries';
486
491
# additional test for examined rows
487
492
flush status;
488
493
select a from t1 where b not in (1,2,3) union select a from t1 where b not in (4,5,6); 
 
494
--replace_column 2 #
489
495
show status like 'Slow_queries';
490
496
drop table t1;
491
497