~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/sum_distinct.test

  • Committer: Brian Aker
  • Date: 2010-04-21 05:33:07 UTC
  • mfrom: (1487.1.1 fix-myisam)
  • Revision ID: brian@gaz-20100421053307-5nkzdz1l2q73t1ej
Merge in heap != myisam

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
FROM t1 g1, t1 g2, t1 g3;
60
60
 
61
61
SELECT
 
62
  SQL_BIG_RESULT
62
63
  SUM(DISTINCT LENGTH(g1.name)) s1,
63
64
  SUM(DISTINCT SUBSTRING(g2.name, 1, 3)) s2,
64
65
  SUM(DISTINCT LENGTH(SUBSTRING(g3.name, 1, 4))) s3
73
74
  SUM(DISTINCT LENGTH(SUBSTRING(name, 1, 4))) s3
74
75
FROM t1;
75
76
 
76
 
SELECT SQL_BUFFER_RESULT
 
77
SELECT SQL_BIG_RESULT
77
78
  SUM(DISTINCT LENGTH(g1.name)) s1,
78
79
  SUM(DISTINCT SUBSTRING(g2.name, 1, 3)) s2,
79
80
  SUM(DISTINCT LENGTH(SUBSTRING(g3.name, 1, 4))) s3