~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/count_distinct3.result

  • Committer: Brian Aker
  • Date: 2008-07-15 06:45:16 UTC
  • Revision ID: brian@tangent.org-20080715064516-fnbq7kowh7w57bxj
Merge Monty's code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
DROP TABLE IF EXISTS t1, t2;
2
 
CREATE TABLE t1 (id INTEGER, grp int, id_rev INTEGER);
3
 
SELECT COUNT(*) FROM t1;
4
 
COUNT(*)
5
 
4181000
6
 
SELECT COUNT(DISTINCT id) FROM t1 GROUP BY grp;
7
 
DROP TABLE t1;
8
 
set @@read_buffer_size=default;