~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/subselect3.test

  • Committer: patrick crews
  • Date: 2010-10-25 23:13:58 UTC
  • mto: (1878.8.1 drizzle1)
  • mto: This revision was merged to the branch mainline in revision 1903.
  • Revision ID: gleebix@gmail.com-20101025231358-avbpaqukx1gybznv
Updated tests to use variable vardir rather than a hard-coded one

Show diffs side-by-side

added added

removed removed

Lines of Context:
618
618
 
619
619
create table t1 (a int, b decimal(13, 3)); 
620
620
insert into t1 values (1, 0.123);
621
 
select a, (select max(b) from t1) into outfile "subselect.out.file.1" from t1;
 
621
--replace_result $DRIZZLETEST_VARDIR DRIZZLETEST_VARDIR
 
622
eval select a, (select max(b) from t1) into outfile "$DRIZZLETEST_VARDIR/subselect.out.file.1" from t1;
622
623
delete from t1;
623
 
load data infile "subselect.out.file.1" into table t1;
 
624
--replace_result $DRIZZLETEST_VARDIR DRIZZLETEST_VARDIR
 
625
eval load data infile "$DRIZZLETEST_VARDIR/subselect.out.file.1" into table t1;
624
626
select * from t1;
625
627
drop table t1;
626
628