~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-06-28 16:17:36 UTC
  • mfrom: (1637.4.1 drizzle)
  • Revision ID: brian@gaz-20100628161736-eormhb2mnd551i2h
MergeĀ unused

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       
352
353
1       SIMPLE  t1      eq_ref  PRIMARY PRIMARY 4       test.t3.a       1       
353
354
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       
370
371
1       PRIMARY t1      eq_ref  PRIMARY PRIMARY 4       test.t3.a       1       
371
372
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))