~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/group_by.test

  • Committer: Brian Aker
  • Date: 2011-01-06 05:17:09 UTC
  • Revision ID: brian@tangent.org-20110106051709-oa0se8ur02uc6i9o
Added native functions into the function table.

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
-- error 1111
11
11
SELECT 1 FROM (SELECT 1) as a  GROUP BY SUM(1);
12
12
 
13
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 where t1.f1 >= 0 group by 1;
 
753
select t1.f1,t.* from t1, t1 t group by 1;
754
754
drop table t1;
755
755
 
756
756
#