summaryrefslogtreecommitdiff
path: root/mysql-test/t/derived.test
diff options
context:
space:
mode:
authorSinisa@sinisa.nasamreza.org <>2002-11-30 19:53:31 +0200
committerSinisa@sinisa.nasamreza.org <>2002-11-30 19:53:31 +0200
commit25586e477ad0609b4030a8aca36c6c8eb8959996 (patch)
treecba8ea432e644376637cbf2fa6247440d696cd0b /mysql-test/t/derived.test
parenta968d7c2eac9e1766f85cebf8d4aa4019c543a84 (diff)
downloadmariadb-git-25586e477ad0609b4030a8aca36c6c8eb8959996.tar.gz
some bug fixes and tests for those.
I am pushing now, because : * I have a fix for crashing bug * Sanja will destroy my changes in sub-select test ... ;)
Diffstat (limited to 'mysql-test/t/derived.test')
-rw-r--r--mysql-test/t/derived.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/derived.test b/mysql-test/t/derived.test
index 5c2d0157f14..8f187dd46ba 100644
--- a/mysql-test/t/derived.test
+++ b/mysql-test/t/derived.test
@@ -18,6 +18,8 @@ SELECT a,2 as a FROM (SELECT '1' as a) b HAVING a=1;
SELECT 1 FROM (SELECT 1) a WHERE a=2;
--error 1054
SELECT (SELECT 1) as a FROM (SELECT 1 FROM t1 HAVING a=1) as a;
+select * from t1 as x1, (select * from t1) as x2;
+explain select * from t1 as x1, (select * from t1) as x2;
drop table if exists t1.t2,t3;
select * from (select 1) as a;
select a from (select 1 as a) as b;