~mordred/ubuntu/maverick/drizzle/prerelease

« back to all changes in this revision

Viewing changes to tests/r/pbxt/func_in.result

  • Committer: Monty Taylor
  • Date: 2010-09-26 16:09:02 UTC
  • mto: This revision was merged to the branch mainline in revision 1383.
  • Revision ID: mordred@inaugust.com-20100926160902-r30v5hegk16cjk22
Tags: upstream-2010.09.1794
ImportĀ upstreamĀ versionĀ 2010.09.1794

Show diffs side-by-side

added added

removed removed

Lines of Context:
349
349
JOIN t2 ON t3.a=t2.a
350
350
JOIN t4 WHERE t4.a IN (t1.b, t2.b);
351
351
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
352
 
1       SIMPLE  t3      ALL     PRIMARY NULL    NULL    NULL    4       
353
352
1       SIMPLE  t1      eq_ref  PRIMARY PRIMARY 4       test.t3.a       1       
354
353
1       SIMPLE  t2      eq_ref  PRIMARY PRIMARY 4       test.t3.a       1       
 
354
1       SIMPLE  t3      ALL     PRIMARY NULL    NULL    NULL    4       
355
355
1       SIMPLE  t4      ALL     PRIMARY NULL    NULL    NULL    7       Range checked for each record (index map: 0x1)
356
356
SELECT STRAIGHT_JOIN * FROM t3 
357
357
JOIN t1 ON t3.a=t1.a 
367
367
FROM t3, t1, t2
368
368
WHERE t3.a=t1.a AND t3.a=t2.a;
369
369
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
370
 
1       PRIMARY t3      ALL     PRIMARY NULL    NULL    NULL    4       
371
370
1       PRIMARY t1      eq_ref  PRIMARY PRIMARY 4       test.t3.a       1       
372
371
1       PRIMARY t2      eq_ref  PRIMARY PRIMARY 4       test.t3.a       1       
 
372
1       PRIMARY t3      ALL     PRIMARY NULL    NULL    NULL    4       
373
373
2       DEPENDENT SUBQUERY      t4      ALL     NULL    NULL    NULL    NULL    7       Using where
374
374
SELECT STRAIGHT_JOIN 
375
375
(SELECT SUM(t4.a) FROM t4 WHERE t4.a IN (t1.b, t2.b))