Bug #803 INTERVAL(NULL, ...) returns -1 instead of NULL

Submitted: 7 Jul 2003 8:40 Modified: 14 Jul 2003 1:32
Reporter: Melt van Schoor Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.0.12 OS:pc-linux (i686)
Assigned to: Ramil Kalimullin CPU Architecture:Any

[7 Jul 2003 8:40] Melt van Schoor
Description:
Perhaps there is a reason, but I've not been able to find it...

How to repeat:
SELECT INTERVAL (NULL, 0, 5, 10);

Suggested fix:
Either change it to return NULL or change to manual to explain the -1.
[14 Jul 2003 1:32] Ramil Kalimullin
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).

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 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.