~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/subselect3.test

  • Committer: Lee Bieber
  • Date: 2010-11-07 19:34:48 UTC
  • mfrom: (1910.1.2 build)
  • Revision ID: kalebral@gmail.com-20101107193448-64kdu912qej354sh
Merge Stewart - including adapting and expanding the "differences from mysql" page from the wiki.
Merge Stewart - fix bug 668143: drizzleslap with --commit runs second iteration data load in a transaction

Show diffs side-by-side

added added

removed removed

Lines of Context:
225
225
 
226
226
# Then check that we do turn off 'ref' scans in the subquery
227
227
create table t4 (x int);
228
 
insert into t4 select A.a + 10*B.a from t1 A CROSS JOIN t1 B;
 
228
insert into t4 select A.a + 10*B.a from t1 A, t1 B;
229
229
explain extended 
230
230
  select a,b, oref, 
231
231
         (a,b) in (select a,b from t1,t4 where c=t2.oref) Z 
618
618
 
619
619
create table t1 (a int, b decimal(13, 3)); 
620
620
insert into t1 values (1, 0.123);
621
 
system rm -f $DRIZZLETEST_VARDIR/subselect.out.file.1;
622
621
--replace_result $DRIZZLETEST_VARDIR DRIZZLETEST_VARDIR
623
622
eval select a, (select max(b) from t1) into outfile "$DRIZZLETEST_VARDIR/subselect.out.file.1" from t1;
624
623
delete from t1;