~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/distinct.test

  • Committer: Brian Aker
  • Date: 2011-02-22 04:19:44 UTC
  • mto: (2192.1.1 drizzle-staging)
  • mto: This revision was merged to the branch mainline in revision 2193.
  • Revision ID: brian@tangent.org-20110222041944-furz1h252ecz7mpd
Merge in modifications such that we check both schema and table for
replication option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
345
345
INSERT INTO t1 VALUES (1,1), (2,1), (3,1);
346
346
EXPLAIN SELECT DISTINCT a FROM t1;
347
347
EXPLAIN SELECT DISTINCT a,b FROM t1;
 
348
--error ER_CARTESIAN_JOIN_ATTEMPTED
348
349
EXPLAIN SELECT DISTINCT t1_1.a, t1_1.b FROM t1 t1_1, t1 t1_2;
349
350
--sorted_result
350
351
EXPLAIN SELECT DISTINCT t1_1.a, t1_1.b FROM t1 t1_1, t1 t1_2