Bug #355 | DELETE FROM test WHERE NULL deletes all rows for MyISAM tables. | ||
---|---|---|---|
Submitted: | 1 May 2003 5:47 | Modified: | 3 May 2003 9:20 |
Reporter: | Peter Zaitsev (Basic Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 4.0.13 | OS: | Any (All) |
Assigned to: | CPU Architecture: | Any |
[1 May 2003 5:47]
Peter Zaitsev
[3 May 2003 8:17]
Peter Zaitsev
I've tested similar bug report and discovered what bug happens even with this statements: delete from test where 0; delete from test where "1"="2"; delete from test where 1=2 Which makes bug even worse. It happens only with constant where clause.
[3 May 2003 9:20]
Sergei Golubchik
fixed