Some basic datatypes and functions in oracle compatibility mode do not work (MDEV-19162)

[MDEV-20649] sql_mode="oracle" does not support "RAISE_APPLICATION_ERROR()" Created: 2019-09-23  Updated: 2019-09-23

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

Type: Technical task Priority: Major
Reporter: Faisal Saeed (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: Compatibility


 Description   

The custom exception "RAISE_APPLICATION_ERROR() does not work. This is similar to MariaDB "SIGNAL"

Here is an oracle example

      EXCEPTION   
         WHEN OTHERS THEN 
         BEGIN
          -- insert into test(query,sample) values('Error','UPD_TRG');         
           RAISE_APPLICATION_ERROR(-20003, 'Unexpected error in INVDTL_UPDATE_TRIGGER');      
          END;


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