~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/parser.test

  • Committer: lbieber
  • Date: 2010-08-27 21:33:08 UTC
  • mfrom: (1733.2.1 staging)
  • Revision ID: lbieber@orisndriz03-20100827213308-amx6ld6by21sba7s
Merge Shrews - bug 599582
Merge Lee - use enum values instead of error numbers in tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
589
589
# MySQL didn't follow the SQL standard on CROSS. INNER requires ON, but
590
590
# CROSS does not make use of ON.
591
591
#
592
 
--error 1064 
 
592
--error ER_PARSE_ERROR 
593
593
SELECT t1.*,t2.* FROM { OJ (t1 LEFT OUTER JOIN t2 ON t1.a1=t2.a2) CROSS JOIN t3 ON (t3.a2=t2.a3)};
594
594
SELECT t1.*,t2.* FROM { OJ (t1 LEFT OUTER JOIN t2 ON t1.a1=t2.a2) INNER JOIN t3 ON (t3.a2=t2.a3)};
595
595
SELECT * FROM {oj t1 LEFT OUTER JOIN t2 ON t1.a1=t2.a3} WHERE t1.a2 > 10;