~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/r/join_outer.result

  • Committer: Brian Aker
  • Date: 2008-07-06 03:24:37 UTC
  • Revision ID: brian@tangent.org-20080706032437-gfnpob6l1tjccisl
First pass for removing mediumint (3 byte INT type).

Show diffs side-by-side

added added

removed removed

Lines of Context:
615
615
id      name    id      idx
616
616
2       no      NULL    NULL
617
617
drop table t1,t2;
618
 
create table t1 (bug_id mediumint, reporter mediumint);
619
 
create table t2 (bug_id mediumint, who mediumint, index(who));
 
618
create table t1 (bug_id bigint, reporter bigint);
 
619
create table t2 (bug_id bigint, who bigint, index(who));
620
620
insert into t2 values (1,1),(1,2);
621
621
insert into t1 values (1,1),(2,1);
622
622
SELECT * FROM t1 LEFT JOIN t2 ON (t1.bug_id =  t2.bug_id AND  t2.who = 2) WHERE  (t1.reporter = 2 OR t2.who = 2);