summaryrefslogtreecommitdiff
path: root/mysql-test/t/derived.test
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2002-12-26 20:04:22 +0200
committerunknown <Sinisa@sinisa.nasamreza.org>2002-12-26 20:04:22 +0200
commit507929995c5899b81d190ce703163220c387091c (patch)
tree1dc9179ee92fbd1e2d385609bb97b83782c95a5d /mysql-test/t/derived.test
parent5600d6769481c1546c26662f8f909d451f08cd70 (diff)
parent6827968b2e4f8df470f63b03e912628f6345fd94 (diff)
downloadmariadb-git-507929995c5899b81d190ce703163220c387091c.tar.gz
merge fixes
mysql-test/r/derived.result: Auto merged mysql-test/t/derived.test: Auto merged sql/sql_yacc.yy: Auto merged sql/item.cc: Fixes for merge ...
Diffstat (limited to 'mysql-test/t/derived.test')
-rw-r--r--mysql-test/t/derived.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/derived.test b/mysql-test/t/derived.test
index daa364db931..8767f9209b3 100644
--- a/mysql-test/t/derived.test
+++ b/mysql-test/t/derived.test
@@ -1,3 +1,8 @@
+select * from (select 2 from DUAL) b;
+-- error 1054
+SELECT 1 as a FROM (SELECT 1 UNION SELECT a) b;
+-- error 1054
+SELECT 1 as a FROM (SELECT a UNION SELECT 1) b;
drop table if exists t1,t2,t3;
CREATE TABLE t1 (a int not null, b char (10) not null);
insert into t1 values(1,'a'),(2,'b'),(3,'c'),(3,'c');