Bug #1024 | DELETE with WHERE, ORDER and LIMIT doesn't work as intended | ||
---|---|---|---|
Submitted: | 10 Aug 2003 15:47 | Modified: | 10 Dec 2003 6:52 |
Reporter: | Paul Pogonyshev | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.0.12 | OS: | GNU/Linux (Red Hat 8.0) |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[10 Aug 2003 15:47]
Paul Pogonyshev
[11 Aug 2003 3:13]
Alexander Keremidarski
Just to add that without WHERE clause it works as expected. With user provided test case: DELETE FROM test ORDER BY id LIMIT 1; Correctly deletes row with id=2
[10 Dec 2003 6:52]
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.0.17