From 2ca6d018d767207c0583fceeccd2a941281e51f2 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 3 Jan 2003 17:08:00 +0200 Subject: fixed do with subselects mysql-test/r/subselect.result: test of DO with subselects mysql-test/t/subselect.test: test of DO with subselects --- mysql-test/r/subselect.result | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'mysql-test/r') diff --git a/mysql-test/r/subselect.result b/mysql-test/r/subselect.result index 7dc03a31878..38a8e0368c6 100644 --- a/mysql-test/r/subselect.result +++ b/mysql-test/r/subselect.result @@ -841,4 +841,13 @@ ROW(1, 1, 'a') IN (select b,a,c from t where c='b' or c='a') 1 select ROW(1, 1, 'a') IN (select b,a,c from t limit 2); This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery' -drop table if exists t; +drop table t; +create table t (a int); +insert into t values (1); +do @a:=(SELECT a from t); +select @a; +@a +1 +drop table t; +do (SELECT a from t); +Table 'test.t' doesn't exist -- cgit v1.2.1