some test cases for the bugs being fixed

parent 26c6d970
...@@ -513,3 +513,6 @@ innobase/stamp-h1 ...@@ -513,3 +513,6 @@ innobase/stamp-h1
myisam/rt_test.MYD myisam/rt_test.MYD
myisam/rt_test.MYI myisam/rt_test.MYI
stamp-h1 stamp-h1
libmysqld/sql_help.cc
scripts/fill_func_tables
scripts/fill_func_tables.sql
...@@ -18,3 +18,9 @@ a y ...@@ -18,3 +18,9 @@ a y
3 3 3 3
3 3 3 3
drop table if exists t1.t2,t3; drop table if exists t1.t2,t3;
select * from (select 1);
1
1
select a from (select 1 as a);
a
1
...@@ -9,3 +9,5 @@ CREATE TABLE t3 (a int not null, b char (10) not null); ...@@ -9,3 +9,5 @@ CREATE TABLE t3 (a int not null, b char (10) not null);
insert into t3 values (3,'f'),(4,'y'),(5,'z'),(6,'c'); insert into t3 values (3,'f'),(4,'y'),(5,'z'),(6,'c');
select t1.a,t4.y from t1,(select t2.a as y from t2,(select t3.b from t3 where t3.a>3) as t5 where t2.b=t5.b) as t4 where t1.a = t4.y; select t1.a,t4.y from t1,(select t2.a as y from t2,(select t3.b from t3 where t3.a>3) as t5 where t2.b=t5.b) as t4 where t1.a = t4.y;
drop table if exists t1.t2,t3; drop table if exists t1.t2,t3;
select * from (select 1);
select a from (select 1 as a);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment