Bug #1601 incorrect results using least(x, <large value>) in INTERVAL function
| Submitted: | 19 Oct 2003 16:12 | Modified: | 10 Dec 2003 4:53 |
|---|---|---|---|
| Reporter: | marc slemko | Email Updates: | |
| Status: | Won't fix | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 4.0.15a | OS: | Linux (Debian 3.0 / Linux kernel 2.4.22) |
| Assigned to: | Victor Vagin | CPU Architecture: | Any |
[19 Oct 2003 16:12]
marc slemko
[23 Oct 2003 2:38]
Victor Vagin
bk commit - 4.0 tree (1.1582)
[10 Dec 2003 4:53]
Michael Widenius
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: This is not something that we can fix easily as it's how least is defined to work. If you use LEAST in integer context, we will evaluate each of the arguments as a signed 64 bit integer. This is what happens when you use LEAST() as an argument to INTERVAL. In the future we may change how LEAST() should work in integer context, but as this will force a redesign, we don't want to do it in a stable release.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.054 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.