1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Recursion support made for SP (BUG#10100).

This commit is contained in:
bell@sanja.is.com.ua
2005-11-23 01:11:19 +02:00
parent cae673d0a9
commit 7bd691f11e
22 changed files with 717 additions and 205 deletions

View File

@@ -1044,10 +1044,11 @@ begin
call bug11394(i - 1,(select 1));
end if;
end|
# Again if we allow recursion for stored procedures (without
# additional efforts) the following statement will crash the server.
--error 1424
--error ER_SP_RECURSION_LIMIT
call bug11394(2, 1)|
set @@max_sp_recursion_depth=10|
call bug11394(2, 1)|
set @@max_sp_recursion_depth=default|
drop procedure bug11394|
delimiter ;|