~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/r/count_distinct3.result

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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 TINYINT, 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;