~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/olap.test

  • Committer: Andrew Hutchings
  • Date: 2010-09-06 20:47:28 UTC
  • mto: (1747.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 1748.
  • Revision ID: andrew@linuxjedi.co.uk-20100906204728-8qjwkx638e5lsm1q
Timestamp cannot reliably store leap seconds, so don't try.  Leave that to datetime only

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
CREATE TABLE t2 (i int);
91
91
INSERT INTO t2 VALUES (100),(200);
92
92
SELECT i, COUNT(*) FROM t1 GROUP BY i WITH ROLLUP;
93
 
SELECT t1.i, t2.i, COUNT(*) FROM t1 CROSS JOIN t2 GROUP BY t1.i,t2.i WITH ROLLUP;
 
93
SELECT t1.i, t2.i, COUNT(*) FROM t1,t2 GROUP BY t1.i,t2.i WITH ROLLUP;
94
94
drop table t1,t2;
95
95
 
96
96
#bug #4767: ROLLUP with LEFT JOIN