Bug #40247 | NULL-Safe Comparison of DATE | ||
---|---|---|---|
Submitted: | 22 Oct 2008 13:02 | Modified: | 26 Oct 2008 10:33 |
Reporter: | Craig Thomson | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 5.0.51a | OS: | Linux (RHEL4 x86_64) |
Assigned to: | CPU Architecture: | Any | |
Tags: | <=>, comparison, date, null-safe |
[22 Oct 2008 13:02]
Craig Thomson
[22 Oct 2008 13:07]
MySQL Verification Team
Thank you for the bug report. Could you please test with latest release (your version is quite older. I couldn't repeat with source server: mysql 5.0 > SELECT test1.id AS id, -> test1.datevalue AS a, -> test2.datevalue AS b, -> test1.datevalue <=> test2.datevalue AS a_eq_b -> FROM test1 -> LEFT JOIN test2 -> ON test1.id = test2.id -> ; +----+------------+------------+--------+ | id | a | b | a_eq_b | +----+------------+------------+--------+ | 1 | 2008-01-01 | 2008-01-01 | 1 | | 2 | 2008-01-02 | NULL | 0 | +----+------------+------------+--------+ 2 rows in set (0.06 sec) mysql 5.0 >
[24 Oct 2008 8:19]
Craig Thomson
Thanks for the response, In addition to 5.0.51a I recieve the same error on both Windows and Linux 5.0.67 which I thought was the most recent version. Could you please confirm which version you tested this on.
[26 Oct 2008 10:33]
Sveta Smirnova
Thank you for the feedback. I could repeat the problem with version 5.0.67, but bug is not repeatable with current development sources. So I close the report as "Can't repeat". Please wait next release.
[6 Aug 2009 20:04]
Anthony Bush
This appears to be a duplicate of bug #36100 which indicates this was indeed not fixed in 5.0.67 but was fixed in 5.0.81 (and maybe fixed somewhere in between those).