Bug #19355 RETURN inside SP
Submitted: 25 Apr 2006 21:06 Modified: 26 Apr 2006 13:15
Reporter: cristian vanti Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Stored Routines Severity:S4 (Feature request)
Version:5.1 OS:Any (all)
Assigned to: CPU Architecture:Any
Triage: Triaged: D5 (Feature request)

[25 Apr 2006 21:06] cristian vanti
Description:
RETURN statement inside a sp could be very useful. Using labelled BEGIN..END with LEAVE it's not a brilliant solution. 

How to repeat:
CREATE PROCEDURE dummy()
BEGIN
RETURN;
END;
[26 Apr 2006 13:15] Valeriy Kravchuk
Thank you for a reasonable feature request.