~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/status.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:
115
115
SELECT (SELECT a FROM t1 LIMIT 1) x FROM t1 LIMIT 1;
116
116
SHOW SESSION STATUS LIKE 'Last_query_cost';
117
117
 
118
 
SELECT * FROM t1 a, t1 b LIMIT 1;
 
118
SELECT * FROM t1 a CROSS JOIN t1 b LIMIT 1;
119
119
SHOW SESSION STATUS LIKE 'Last_query_cost';
120
120
 
121
121
DROP TABLE t1;