[MDEV-12787] FR: Oracle Compatibility with SYSDATE Arithmetic Created: 2017-05-12  Updated: 2018-12-03

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Will Fong Assignee: Ralf Gebhardt
Resolution: Unresolved Votes: 2
Labels: Compatibility


 Description   

In Oracle, it is possible to perform addition (and presumably subtraction) operations against SYSDATE with the following syntax:

SELECT SYSDATE + 10 FROM dual;

This will add 10 days to the current date.

MariaDB requires the + INTERVAL 10 DAYS syntax, which will require query rewriting in the entire application.


Generated at Thu Feb 08 08:00:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.