~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/subselect.test

  • Committer: Andrew Hutchings
  • Date: 2011-02-01 10:23:22 UTC
  • mto: (2136.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2137.
  • Revision ID: andrew@linuxjedi.co.uk-20110201102322-oxztcyrjzg3c7yta
Fix counters cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
567
567
--echo #
568
568
--echo # error in IN
569
569
--echo #
570
 
--error ER_TABLE_UNKNOWN
 
570
--error ER_NO_SUCH_TABLE
571
571
select t1.Continent, t2.Name, t2.Population from t1 LEFT JOIN t2 ON t1.Code = t2.Country  where t2.Population IN (select max(t2.Population) AS Population from t2, t1 where t2.Country = t1.Code group by Continent);
572
572
 
573
573
--echo #
3119
3119
--error ER_PARSE_ERROR
3120
3120
SELECT * FROM t1 JOIN ((t1 t1a)) t1a ON 1;
3121
3121
 
3122
 
--error ER_CARTESIAN_JOIN_ATTEMPTED
 
3122
--sorted_result
3123
3123
SELECT * FROM t1 JOIN  (t1 t1a)  ON 1;
3124
 
--error ER_CARTESIAN_JOIN_ATTEMPTED
3125
3124
SELECT * FROM t1 JOIN ((t1 t1a)) ON 1;
3126
3125
 
3127
3126
SELECT * FROM (t1 t1a);