Bug #12176 | Difference between "IS NULL" and "= NULL" | ||
---|---|---|---|
Submitted: | 26 Jul 2005 14:42 | Modified: | 26 Jul 2005 15:11 |
Reporter: | Thomas Belot | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.7-beta | OS: | Any (*) |
Assigned to: | CPU Architecture: | Any |
[26 Jul 2005 14:42]
Thomas Belot
[26 Jul 2005 14:56]
Aleksey Kishkin
Thomas, According to sql standarts, "null" can't be compared with any other values. And only valid operation with NULL is ' is null' command.
[26 Jul 2005 15:11]
MySQL Verification Team
Please read: http://dev.mysql.com/doc/mysql/en/working-with-null.html
[26 Jul 2005 18:06]
Thomas Belot
My apologies for the mistake. I've searched the doc for something like this but didn't found it.