Bug #2267 Lost connect if stored procedure has SHOW FUNCTION STATUS

Submitted: 3 Jan 2004 9:11 Modified: 14 Jan 2004 9:28
Reporter: Peter Gulutzan Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0.0 OS:Linux (SuSE 8.2)
Assigned to: Per-Erik Martin CPU Architecture:Any

[3 Jan 2004 9:11] Peter Gulutzan
Description:
If a stored procedure contains SHOW FUNCTION STATUS, then calling the procedure will 
break the connection. 

How to repeat:
mysql> create procedure p1 () show function status; 
Query OK, 0 rows affected (0.01 sec) 
 
mysql> call p1(); 
Empty set (0.01 sec) 
 
mysql> create procedure p2 () show function status; 
Packets out of order (Found: 11, expected 1) 
ERROR 2013 (HY000): Lost connection to MySQL server during query
[5 Jan 2004 11:04] Dean Ellis
Verified, but this only seems to occur with a debug build.
[14 Jan 2004 9:28] Per-Erik Martin
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

There might be more statements with this problem; we fix them as we find them...

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

Page generated in 0.051 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.