Bug #3115 | CAST AS DATE with malformed string returns NULL but IS NULL is false. | ||
---|---|---|---|
Submitted: | 9 Mar 2004 7:50 | Modified: | 9 Mar 2004 13:19 |
Reporter: | Per-Erik Martin | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.1 | OS: | Any (Any) |
Assigned to: | Jani Tolonen | CPU Architecture: | Any |
[9 Mar 2004 7:50]
Per-Erik Martin
[9 Mar 2004 8:31]
Dean Ellis
Verified against 4.1.2. SELECT CAST('20030x12' AS DATE) <=> NULL; reports true.
[9 Mar 2004 13:19]
Jani Tolonen
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.1.2. bk ChangeSet 1.1773