~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/regression/t/709493.test

  • Committer: Brian Aker
  • Date: 2011-02-12 08:20:19 UTC
  • mto: This revision was merged to the branch mainline in revision 2161.
  • Revision ID: brian@tangent.org-20110212082019-09gs5y1b0pxoaesb
Merge in optimizer pieces.

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
 
 
6
select * from t1 left join t2
 
7
  on t1.col_int_unique = t2.col_int_unique and t1.col_int = t2.col_int 
 
8
  where t1.pk=1;
 
9
 
 
10
drop table t1;
 
11
drop table t2;