Bug #2238 | impossible where + procedure analyse() hangs | ||
---|---|---|---|
Submitted: | 30 Dec 2003 8:22 | Modified: | 3 May 2004 11:42 |
Reporter: | Konstantin Osipov (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.1 or 5.0 | OS: | Any (all) |
Assigned to: | Konstantin Osipov | CPU Architecture: | Any |
[30 Dec 2003 8:22]
Konstantin Osipov
[30 Dec 2003 8:31]
Konstantin Osipov
more about how to repeat: CREATE TABLE t1 (i INTEGER NOT NULL PRIMARY KEY); CREATE TABLE t2 SELECT * FROM t1 WHERE 1=0 PROCEDURE ANALYSE(); (hangs) more about how to fix: fix JOIN::exec() to set JOIN::error=1 and remove call to result->prepare() from return_zero_rows
[3 May 2004 11:42]
Michael Widenius
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: Fix will be in 4.1.2