~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-07-30 20:31:19 UTC
  • mto: This revision was merged to the branch mainline in revision 1679.
  • Revision ID: brian@gaz-20100730203119-89g2ye4zwnvcacxg
First pass in encapsulating row

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
select * from t1,t1 as t2;
10
10
a       b       a       b
11
11
A       B       A       B
 
12
b       A       A       B
 
13
C       c       A       B
 
14
D       E       A       B
 
15
a       a       A       B
 
16
A       B       b       A
 
17
b       A       b       A
 
18
C       c       b       A
 
19
D       E       b       A
 
20
a       a       b       A
12
21
A       B       C       c
 
22
b       A       C       c
 
23
C       c       C       c
 
24
D       E       C       c
 
25
a       a       C       c
13
26
A       B       D       E
14
 
A       B       a       a
15
 
A       B       b       A
16
 
C       c       A       B
17
 
C       c       C       c
 
27
b       A       D       E
18
28
C       c       D       E
19
 
C       c       a       a
20
 
C       c       b       A
21
 
D       E       A       B
22
 
D       E       C       c
23
29
D       E       D       E
24
 
D       E       a       a
25
 
D       E       b       A
26
 
a       a       A       B
27
 
a       a       C       c
28
30
a       a       D       E
29
 
a       a       a       a
30
 
a       a       b       A
31
 
b       A       A       B
32
 
b       A       C       c
33
 
b       A       D       E
 
31
A       B       a       a
34
32
b       A       a       a
35
 
b       A       b       A
 
33
C       c       a       a
 
34
D       E       a       a
 
35
a       a       a       a
36
36
explain select t1.*,t2.* from t1,t1 as t2 where t1.A=t2.B;
37
37
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
38
38
1       SIMPLE  t1      ALL     a       NULL    NULL    NULL    5       
39
 
1       SIMPLE  t2      ALL     b       NULL    NULL    NULL    5       Using where; Using join buffer
 
39
1       SIMPLE  t2      ref     b       b       18      test.t1.a       1       Using where
40
40
select t1.*,t2.* from t1,t1 as t2 where t1.A=t2.B order by binary t1.a,t2.a;
41
41
a       b       a       b
42
42
A       B       a       a