Bug #118635 ADDDATE with date in year zero yields incorrect result
| Submitted: | 10 Jul 2025 19:56 | Modified: | 13 Mar 10:33 |
|---|---|---|---|
| Reporter: | Roy Lyseng | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
| Version: | 8.0 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[10 Jul 2025 19:56]
Roy Lyseng
[13 Mar 10:33]
Edward Gilmore
Posted by developer: Added the following note to the MySQL Server 9.7.0 release notes: ADDDATE returned an incorrect result if the first argument was year zero (0000).
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 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.