Bug #6898 Stored procedure crash if GOTO statements exist

Submitted: 30 Nov 2004 22:21 Modified: 20 Apr 2005 17:25
Reporter: Peter Gulutzan Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0.2-alpha-debug OS:Linux (SuSE 8.2)
Assigned to: Per-Erik Martin CPU Architecture:Any

[30 Nov 2004 22:21] Peter Gulutzan
Description:
I try to create a stored procedure which contains some GOTO statements. 
The CREATE PROCEDURE statement causes a crash. 
To resume, I had to use kill -9. 
 

How to repeat:
mysql> delimiter // 
mysql> create procedure p83 () begin goto label1; label label1; begin end; goto label1; 
end;// 
ERROR 2013 (HY000): Lost connection to MySQL server during query
[30 Nov 2004 22:48] MySQL Verification Team
Thank you for the bug report.
[20 Apr 2005 13:57] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/24167

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.