~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/olap.test

  • Committer: Stewart Smith
  • Date: 2010-02-15 03:55:09 UTC
  • mto: (1273.13.96 build)
  • mto: This revision was merged to the branch mainline in revision 1308.
  • Revision ID: stewart@flamingspork.com-20100215035509-y6sry4q4yymph2by
move SUBSTR, SUBSTRING and SUBSTR_INDEX to plugins. add parser hooks for substr being a plugin now.

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;