~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/subselect3.test

  • Committer: Andrew Hutchings
  • Date: 2011-02-07 17:01:15 UTC
  • mto: (2148.2.3 build)
  • mto: This revision was merged to the branch mainline in revision 2149.
  • Revision ID: andrew@linuxjedi.co.uk-20110207170115-e4sryp5nkb3n2vhy
Implicit joins of the form "SELECT * FROM t1, t2" without WHERE or ON now error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
225
225
 
226
226
# Then check that we do turn off 'ref' scans in the subquery
227
227
create table t4 (x int);
228
 
insert into t4 select A.a + 10*B.a from t1 A, t1 B;
 
228
insert into t4 select A.a + 10*B.a from t1 A CROSS JOIN t1 B;
229
229
explain extended 
230
230
  select a,b, oref, 
231
231
         (a,b) in (select a,b from t1,t4 where c=t2.oref) Z