~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/sum_distinct.test

  • Committer: lbieber
  • Date: 2010-01-21 18:21:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1277.
  • Revision ID: lbieber@orisndriz08-20100121182139-h549us3gsysyyl0e
clean up japanese tests, remove tests that no longer apply.  In test-run.pl change mysql_version_id to drizzle_version_id

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
63
62
  SUM(DISTINCT LENGTH(g1.name)) s1,
64
63
  SUM(DISTINCT SUBSTRING(g2.name, 1, 3)) s2,
65
64
  SUM(DISTINCT LENGTH(SUBSTRING(g3.name, 1, 4))) s3
74
73
  SUM(DISTINCT LENGTH(SUBSTRING(name, 1, 4))) s3
75
74
FROM t1;
76
75
 
77
 
SELECT SQL_BIG_RESULT
 
76
SELECT SQL_BUFFER_RESULT
78
77
  SUM(DISTINCT LENGTH(g1.name)) s1,
79
78
  SUM(DISTINCT SUBSTRING(g2.name, 1, 3)) s2,
80
79
  SUM(DISTINCT LENGTH(SUBSTRING(g3.name, 1, 4))) s3