~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_group.test

  • Committer: Monty Taylor
  • Date: 2010-12-26 03:15:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101226031544-1cf3raipu53fnmyj
Through page.

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;