[MDEV-27508] sql_mode="oracle" does not support PL/SQL table extra definitions Created: 2020-05-14  Updated: 2024-01-12

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

Type: Task Priority: Major
Reporter: Manjot Singh (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: Compatibility, Oracle


 Description   

Just as with MariaDB, Oracle table definitions have extra table_options at the end.

For example:

"CREATE TABLE db1.t1
(
 ...
)
  SEGMENT CREATION IMMEDIATE 
  PCTFREE 20 PCTUSED 80 INITRANS 1 MAXTRANS 255 
  NOCOMPRESS LOGGING
  STORAGE(INITIAL 16384 NEXT 8192 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"
  CACHE;"

Most of this can be ignored but we should consider honoring:
[NO]COMPRESS
TABLESPACE "x" (this just names the ibd file)
ENCRYPT



 Comments   
Comment by Julien Fritsch [ 2020-06-02 ]

manjot We only support the most important subset of PL/SQL so far. This MENT is a features which is outside of the currently supported subset.

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