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:
@@ -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 ;|
|
||||
|
||||
|
||||
Reference in New Issue
Block a user