~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/subselect_mat.result

  • Committer: Brian Aker
  • Date: 2009-08-24 20:01:53 UTC
  • mfrom: (1119.2.11 merge)
  • Revision ID: brian@gaz-20090824200153-o7lawmu7lfkimc33
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
368
368
Note    1276    Field or reference 'test.t1.a1' of SELECT #3 was resolved in SELECT #1
369
369
Note    1276    Field or reference 'test.t1.a2' of SELECT #6 was resolved in SELECT #1
370
370
Note    1003    select `test`.`t1`.`a1` AS `a1`,`test`.`t1`.`a2` AS `a2` from `test`.`t1` where (<in_optimizer>((`test`.`t1`.`a1`,`test`.`t1`.`a2`),<exists>(select `test`.`t2`.`b1` AS `b1`,`test`.`t2`.`b2` AS `b2` from `test`.`t2` where ((<in_optimizer>(`test`.`t2`.`b2`,<exists>(select 1 AS `Not_used` from `test`.`t3` `t3a` where ((`test`.`t3a`.`c1` = `test`.`t1`.`a1`) and (<cache>(`test`.`t2`.`b2`) = `test`.`t3a`.`c2`)))) or <in_optimizer>(`test`.`t2`.`b2`,`test`.`t2`.`b2` in ( <materialize> (select `test`.`t3b`.`c2` AS `c2` from `test`.`t3` `t3b` where (`test`.`t3b`.`c2` like '%03') ), <primary_index_lookup>(`test`.`t2`.`b2` in <temporary table> on distinct_key)))) and (<cache>(`test`.`t1`.`a1`) = `test`.`t2`.`b1`) and (<cache>(`test`.`t1`.`a2`) = `test`.`t2`.`b2`)))) and <in_optimizer>((`test`.`t1`.`a1`,`test`.`t1`.`a2`),<exists>(select `test`.`t3c`.`c1` AS `c1`,`test`.`t3c`.`c2` AS `c2` from `test`.`t3` `t3c` where (<in_optimizer>((`test`.`t3c`.`c1`,`test`.`t3c`.`c2`),<exists>(<index_lookup>(<cache>(`test`.`t3c`.`c1`) in t2i on it2i3 where (((`test`.`t2i`.`b2` > '0') or (`test`.`t2i`.`b2` = `test`.`t1`.`a2`)) and (<cache>(`test`.`t3c`.`c1`) = `test`.`t2i`.`b1`) and (<cache>(`test`.`t3c`.`c2`) = `test`.`t2i`.`b2`))))) and (<cache>(`test`.`t1`.`a1`) = `test`.`t3c`.`c1`) and (<cache>(`test`.`t1`.`a2`) = `test`.`t3c`.`c2`)))))
 
371
DROP TABLE t1i, t2i, t3i;
371
372
explain extended
372
373
select * from t1 where (a1, a2) in (select '1 - 01', '2 - 01');
373
374
id      select_type     table   type    possible_keys   key     key_len ref     rows    filtered        Extra
423
424
1 - 00  2 - 00
424
425
1 - 01  2 - 01
425
426
1 - 02  2 - 02
 
427
DROP TABLE columns;
426
428
/******************************************************************************
427
429
* Column types/sizes that affect materialization.
428
430
******************************************************************************/