Bug #3261 Stored procedure crash if function call and innodb table
Submitted: 22 Mar 2004 12:09 Modified: 9 Sep 2004 14:58
Reporter: Peter Gulutzan Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0.1-alpha-debug OS:Linux (SuSE 8.2)
Assigned to: Bugs System CPU Architecture:Any

[22 Mar 2004 12:09] Peter Gulutzan
Description:
A SELECT statement that references an InnoDB table, and has a function call in the select 
list, crashes. 

How to repeat:
mysql> create table t7 (s1 int) engine=innodb; 
Query OK, 0 rows affected (0.34 sec) 
 
mysql> insert into t7 values (5); 
Query OK, 1 row affected (0.05 sec) 
 
mysql> create function f12 () returns int  return (2); 
Query OK, 0 rows affected (0.00 sec) 
 
mysql> select f12() from t7; 
ERROR 2013 (HY000): Lost connection to MySQL server during query
[9 Sep 2004 14:58] 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