1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-13 13:47:59 +03:00
This commit is contained in:
bell@sanja.is.com.ua
2005-02-09 00:31:56 +02:00
8 changed files with 266 additions and 80 deletions

View File

@@ -2853,3 +2853,24 @@ drop function bug5278|
delimiter ;|
drop table t1;
drop table t2;
#
# rolling back temporary Item tree changes in SP
#
--disable_warnings
drop procedure if exists p1;
--enable_warnings
create table t1(id int);
insert into t1 values(1);
delimiter //;
create procedure p1()
begin
declare i int;
select max(id)+1 into i from t1;
end
//
call p1()//
call p1()//
delimiter ;//
drop procedure p1;
drop table t1;