Bug #4187 | GREATEST function does not return 1, 0 or NULL - Move from Comparison Operators | ||
---|---|---|---|
Submitted: | 17 Jun 2004 14:24 | Modified: | 6 Jul 2004 5:03 |
Reporter: | Michael Kaye | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | OS: | ||
Assigned to: | Paul DuBois | CPU Architecture: | Any |
[17 Jun 2004 14:24]
Michael Kaye
[23 Jun 2004 17:36]
Dean Ellis
Verifying this, as the various functions returning other values do violate the chapter's own definition of comparison functions. Thank you for noting it.
[6 Jul 2004 5:03]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant product(s). Additional info: I retitled the section from "Operators" to "Functions and Operators" and clarified that, even for functions that don't return 1/0/NULL, they are based on comparisons that result in 1/0/NULL. Can't move functions like LEAST()/GREATEST() to "Numeric Functions", because they can return values of other types.