~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_group.test

  • Committer: patrick crews
  • Date: 2011-01-30 23:02:12 UTC
  • mto: This revision was merged to the branch mainline in revision 2131.
  • Revision ID: gleebix@gmail.com-20110130230212-nnts892jsc0oiurv
Added initial docs for dbqp.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
# The following returned NULL in 4.0.10
121
121
select min(a2) from t1;
122
122
select max(t1.a1), max(t2.a2) from t1, t2;
123
 
select max(t1.a1) from t1, t2 where t1.a1 > 0;
 
123
select max(t1.a1) from t1, t2;
124
124
select max(t2.a2), max(t1.a1) from t1, t2;
125
125
 
126
126
explain select min(a2) from t1;
129
129
insert into t2 values('AAA', 10, 0.5);
130
130
insert into t2 values('BBB', 20, 1.0);
131
131
--sorted_result
132
 
select t1.a1, t1.a2, t2.a1, t2.a2 from t1,t2 where t1.a1 > 0;
 
132
select t1.a1, t1.a2, t2.a1, t2.a2 from t1,t2;
133
133
 
134
134
select max(t1.a1), max(t2.a1) from t1, t2 where t2.a2=9;
135
135
select max(t2.a1), max(t1.a1) from t1, t2 where t2.a2=9;