~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/group_by.test

  • Committer: patrick crews
  • Date: 2011-06-08 03:02:27 UTC
  • mto: This revision was merged to the branch mainline in revision 2329.
  • Revision ID: gleebix@gmail.com-20110608030227-updkyv2652zvfajc
Initial voodoo worked to give us a crashme mode.  Need docs still

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#
8
8
# Simple test without tables
9
9
 
 
10
--error ER_INVALID_GROUP_FUNC_USE
10
11
SELECT 1 FROM (SELECT 1) as a  GROUP BY SUM(1);
11
12
 
12
13
#
750
750
select * from t1 group by f1;
751
751
select * from t1 group by f2;
752
752
select * from t1 group by f1, f2;
753
 
select t1.f1,t.* from t1, t1 t group by 1;
 
753
select t1.f1,t.* from t1, t1 t where t1.f1 >= 0 group by 1;
754
754
drop table t1;
755
755
 
756
756
#