1
0
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:
pem@mysql.comhem.se
2004-07-29 17:33:45 +02:00
parent 714c3c0942
commit 7e6bade23b
27 changed files with 48 additions and 1 deletions

View File

@@ -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 ;|