~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/olap.test

  • Committer: Brian Aker
  • Date: 2010-08-18 19:37:19 UTC
  • mto: This revision was merged to the branch mainline in revision 1720.
  • Revision ID: brian@tangent.org-20100818193719-bxxzn1pi22styowd
created function that can be used to simply crash the server.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
# Error handling
73
73
 
74
74
# Cube is not yet implemented
75
 
--error ER_PARSE_ERROR
 
75
--error 1064
76
76
select product, country_id , year, sum(profit) from t1 group by product, country_id, year with cube;
77
 
--error ER_PARSE_ERROR
 
77
--error 1064
78
78
explain select product, country_id , year, sum(profit) from t1 group by product, country_id, year with cube;
79
 
--error ER_PARSE_ERROR
 
79
--error 1064
80
80
select product, country_id , year, sum(profit) from t1 group by product, country_id, year with cube union all select product, country_id , year, sum(profit) from t1 group by product, country_id, year with rollup;
81
81
 
82
82
drop table t1,t2;