1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

some test cases for the bugs being fixed

This commit is contained in:
Sinisa@sinisa.nasamreza.org
2002-10-30 18:23:02 +02:00
parent 26c6d970d9
commit a5fcadce65
3 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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);