Bug #2460 | Crash wih Stored Procedure and UNOIN | ||
---|---|---|---|
Submitted: | 20 Jan 2004 7:17 | Modified: | 28 May 2004 19:52 |
Reporter: | Alexander Keremidarski | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | OS: | ||
Assigned to: | Per-Erik Martin | CPU Architecture: | Any |
[20 Jan 2004 7:17]
Alexander Keremidarski
[20 Jan 2004 7:20]
Alexander Keremidarski
Forgot to include table definition into How-to-repeat section: CREATE TABLE `node` ( `id` int(10) unsigned NOT NULL default '0', `rid` int(10) unsigned NOT NULL default '0', `msg` text NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `rid` (`rid`,`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
[13 Feb 2004 13:52]
Peter Gulutzan
There's another way to cause a crash with a stored procedure and a UNION. How to repeat: mysql> create procedure p4 () begin drop table if exists t1; create table t1 (s1 int); insert into t1 select 1 union select 1; end;// Query OK, 0 rows affected (0.00 sec) mysql> call p4()// Query OK, 0 rows affected (0.68 sec) mysql> call p4()// ERROR 2013 (HY000): Lost connection to MySQL server during query
[28 May 2004 19:52]
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