[MDEV-13474] MySQL dialect must still work in sql_mode=oracle Created: 2017-08-08  Updated: 2023-04-27

Status: Open
Project: MariaDB Server
Component/s: Parser
Affects Version/s: 10.3.0
Fix Version/s: 10.4

Type: Bug Priority: Major
Reporter: Andrii Nikitin (Inactive) Assignee: Alexander Barkov
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-12962 Testing MDEV-10142 (PL/SQL parser) Open

 Description   

All MySQL-specific dialect expressions must work in sql_mode=oracle , (unless they really conflict with Oracle syntax - but then it may be serious limitation for some cases).

The reasoning behind that is that some 10.2 environments may rely on that dialect with sql_mode=oracle and it may be very unfortunate if those stop working after upgrading to 10.3 .
As example I could identify following cases in MDEV-12962 :

1. ELSEIF stopped working in sql_mode=oracle, which recognising only ELSIF now
2. '%' operator has gone in sql_mode=oracle (see MDEV-12977)

Other cases must be considered as well in 10.3 oracle parser during testing / implementation.


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