Commit 5344528b authored by pem@mysql.comhem.se's avatar pem@mysql.comhem.se

Fixed test for BUG#2614 (right name, right place, etc...),

and updated sp.result as well.
parent 5dc3387c
......@@ -978,6 +978,17 @@ call bug2227(9)|
1.3 x y 42 z
1.3 9 2.6 42 zzz
drop procedure bug2227|
create procedure bug2614()
begin
drop table if exists t3;
create table t3 (id int default '0' not null);
insert into t3 select 12;
insert into t3 select * from t3;
end|
call bug2614()|
call bug2614()|
drop table t3|
drop procedure bug2614|
drop table if exists fac|
create table fac (n int unsigned not null primary key, f bigint unsigned)|
create procedure ifac(n int unsigned)
......
......@@ -1120,6 +1120,24 @@ end|
call bug2227(9)|
drop procedure bug2227|
#
# BUG#2614
#
create procedure bug2614()
begin
drop table if exists t3;
create table t3 (id int default '0' not null);
insert into t3 select 12;
insert into t3 select * from t3;
end|
--disable_warnings
call bug2614()|
--enable_warnings
call bug2614()|
drop table t3|
drop procedure bug2614|
#
# Some "real" examples
......@@ -1302,17 +1320,3 @@ drop procedure bar|
delimiter ;|
drop table t1;
drop table t2;
delimiter |
drop procedure if exists crash|
create procedure crash()
begin
drop table if exists t1;
create table t1 (id int default '0' not null);
insert into t1 select 12;
insert into t1 select * from t1;
end|
delimiter ;
call crash();
call crash();
drop table t1;
drop procedure if exists crash;
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