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
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.