PL/SQL parser - Phase 2 (MDEV-10764)

[MDEV-11812] sql_mode=ORACLE: AUTHID clause Created: 2017-01-16  Updated: 2021-05-11

Status: Open
Project: MariaDB Server
Component/s: Stored routines
Affects Version/s: 10.3
Fix Version/s: None

Type: Technical task Priority: Major
Reporter: Alexander Barkov Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: Compatibility


 Description   

MariaDB uses this SQL syntax to tell if a stored routine should be invoked with the definer or the invoker security:

<rights clause>    ::=   SQL SECURITY INVOKER | SQL SECURITY DEFINER 

Oracle uses a different syntax for the same thing:

<invoker_rights_clause> ::= AUTHID CURRENT_USER | AUTHID DEFINER

When running with sql_mode=ORACLE, MariaDB will understand Oracle syntax.


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