474
474
insert t1 select a+1, a+b from t1;
475
475
insert t1 select a+1, a+b from t1;
478
477
show status like 'Slow_queries';
479
478
select count(*) from t1 where a=7;
481
479
show status like 'Slow_queries';
482
480
select count(*) from t1 where b=13;
484
481
show status like 'Slow_queries';
485
482
select count(*) from t1 where b=13 union select count(*) from t1 where a=7;
487
483
show status like 'Slow_queries';
488
484
select count(*) from t1 where a=7 union select count(*) from t1 where b=13;
490
485
show status like 'Slow_queries';
491
486
# additional test for examined rows
493
488
select a from t1 where b not in (1,2,3) union select a from t1 where b not in (4,5,6);
495
489
show status like 'Slow_queries';