~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/regression/r/709493.result

  • Committer: Olaf van der Spek
  • Date: 2011-02-12 18:24:24 UTC
  • mto: (2167.1.2 build) (2172.1.4 build)
  • mto: This revision was merged to the branch mainline in revision 2168.
  • Revision ID: olafvdspek@gmail.com-20110212182424-kgnm9osi7qo97at2
casts

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
create table t1 (pk int primary key, col_int int, col_int_unique int unique key);
 
2
insert into t1 values (1,NULL,2), (2,0,0);
 
3
create table t2 (pk int primary key, col_int int, col_int_unique int unique key);
 
4
insert into t2 values (1,0,1), (2,0,2);
 
5
select * from t1 left join t2
 
6
on t1.col_int_unique = t2.col_int_unique and t1.col_int = t2.col_int 
 
7
where t1.pk=1;
 
8
pk      col_int col_int_unique  pk      col_int col_int_unique
 
9
1       NULL    2       NULL    NULL    NULL
 
10
drop table t1;
 
11
drop table t2;