Bug #1053 | Using IFNULL on INTEGERS in a SELECT DISTINCT query does not work. | ||
---|---|---|---|
Submitted: | 15 Aug 2003 4:37 | Modified: | 15 Aug 2003 6:04 |
Reporter: | Rasmus Tengblad | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 3.23.54 | OS: | BSD/OS |
Assigned to: | CPU Architecture: | Any |
[15 Aug 2003 4:37]
Rasmus Tengblad
[15 Aug 2003 5:19]
Sergei Golubchik
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/ According to the "Upgrading from 3.23" section of the manual: * The default type returned by `IFNULL(A,B)' is now set to be the more 'general' of the types of `A' and `B'. (The general-to-specific order is string, `REAL' or `INTEGER'). So, it's fixed in 4.0
[15 Aug 2003 6:04]
Sergei Golubchik
by the way, if 3.23 compiles easy where 4.0 requires some "magic" - you can submit a bugreport about it :)