mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Fixed BUG#434: Stored procedure which drops itself causes crash.
Simply disallow it, just as we disallow creation of routines from within other SPs.
This commit is contained in:
@@ -576,6 +576,15 @@ call bug2653_2(2, @b)|
|
||||
drop procedure bug2653_1|
|
||||
drop procedure bug2653_2|
|
||||
|
||||
#
|
||||
# BUG#4344
|
||||
#
|
||||
--error 1356
|
||||
create procedure bug4344() drop procedure bug4344|
|
||||
--error 1356
|
||||
create procedure bug4344() drop function bug4344|
|
||||
|
||||
|
||||
drop table t1|
|
||||
|
||||
delimiter ;|
|
||||
|
||||
Reference in New Issue
Block a user