Details
-
Technical task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
10.2.2-3, 10.2.2-1, 10.2.2-2, 10.2.2-4, 10.1.18
Description
When running with sql_mode=ORACLE, MariaDB will support an optional STORAGE clause.
Example:
TRUNCATE TABLE t1 DROP STORAGE; |
An open question is if the parser should just consume and ignore the STORAGE clause, or the underlying engine should perform some actions, depending on the choice between DROP or REUSE.
The default behavior is DROP STORAGE.
Note, although REUSE is a reserved keyword in Oracle, we won't reserve it even in sql_mode=ORACLE under terms of this task, as REUSE does not introduce grammar conflicts.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
When running with {{sql_mode=ORACLE}}, MariaDB will support an optional {{STORAGE}} clause.
Example: {code:sql} TRUNCATE TABLE t1 DROP STORAGE; {code} |
When running with {{sql_mode=ORACLE}}, MariaDB will support an optional {{STORAGE}} clause.
Example: {code:sql} TRUNCATE TABLE t1 DROP STORAGE; {code} An option question is that if the parser should just consume and ignore the {{STORAGE}} clause, or the underlying engine should perform some actions, depending on the choice between {{DROP}} or {{REUSE}}. |
Description |
When running with {{sql_mode=ORACLE}}, MariaDB will support an optional {{STORAGE}} clause.
Example: {code:sql} TRUNCATE TABLE t1 DROP STORAGE; {code} An option question is that if the parser should just consume and ignore the {{STORAGE}} clause, or the underlying engine should perform some actions, depending on the choice between {{DROP}} or {{REUSE}}. |
When running with {{sql_mode=ORACLE}}, MariaDB will support an optional {{STORAGE}} clause.
Example: {code:sql} TRUNCATE TABLE t1 DROP STORAGE; {code} An option question is that if the parser should just consume and ignore the {{STORAGE}} clause, or the underlying engine should perform some actions, depending on the choice between {{DROP}} or {{REUSE}}. The default behavior is {{DROP STORAGE}}. |
Description |
When running with {{sql_mode=ORACLE}}, MariaDB will support an optional {{STORAGE}} clause.
Example: {code:sql} TRUNCATE TABLE t1 DROP STORAGE; {code} An option question is that if the parser should just consume and ignore the {{STORAGE}} clause, or the underlying engine should perform some actions, depending on the choice between {{DROP}} or {{REUSE}}. The default behavior is {{DROP STORAGE}}. |
When running with {{sql_mode=ORACLE}}, MariaDB will support an optional {{STORAGE}} clause.
Example: {code:sql} TRUNCATE TABLE t1 DROP STORAGE; {code} An open question is that if the parser should just consume and ignore the {{STORAGE}} clause, or the underlying engine should perform some actions, depending on the choice between {{DROP}} or {{REUSE}}. The default behavior is {{DROP STORAGE}}. |
Description |
When running with {{sql_mode=ORACLE}}, MariaDB will support an optional {{STORAGE}} clause.
Example: {code:sql} TRUNCATE TABLE t1 DROP STORAGE; {code} An open question is that if the parser should just consume and ignore the {{STORAGE}} clause, or the underlying engine should perform some actions, depending on the choice between {{DROP}} or {{REUSE}}. The default behavior is {{DROP STORAGE}}. |
When running with {{sql_mode=ORACLE}}, MariaDB will support an optional {{STORAGE}} clause.
Example: {code:sql} TRUNCATE TABLE t1 DROP STORAGE; {code} An open question is if the parser should just consume and ignore the {{STORAGE}} clause, or the underlying engine should perform some actions, depending on the choice between {{DROP}} or {{REUSE}}. The default behavior is {{DROP STORAGE}}. |
Parent |
|
|
Issue Type | Task [ 3 ] | Technical task [ 7 ] |
Labels | Compatibility |
Labels | Compatibility |
Labels | Compatibility |
Labels | Compatibility |
Labels | Compatibility |
Labels | Compatibility | Compatibility NRE-307517 |
Description |
When running with {{sql_mode=ORACLE}}, MariaDB will support an optional {{STORAGE}} clause.
Example: {code:sql} TRUNCATE TABLE t1 DROP STORAGE; {code} An open question is if the parser should just consume and ignore the {{STORAGE}} clause, or the underlying engine should perform some actions, depending on the choice between {{DROP}} or {{REUSE}}. The default behavior is {{DROP STORAGE}}. |
When running with {{sql_mode=ORACLE}}, MariaDB will support an optional {{STORAGE}} clause.
Example: {code:sql} TRUNCATE TABLE t1 DROP STORAGE; {code} An open question is if the parser should just consume and ignore the {{STORAGE}} clause, or the underlying engine should perform some actions, depending on the choice between {{DROP}} or {{REUSE}}. The default behavior is {{DROP STORAGE}}. Note, although {{REUSE}} is a reserved keyword in Oracle, we won't reserve it even in {{sql_mode=ORACLE}} under terms of this task, as {{REUSE}} does not introduce grammar conflicts. |
issue.field.resolutiondate | 2016-11-15 11:58:37.0 | 2016-11-15 11:58:37.764 |
Component/s | Parser [ 10201 ] | |
Fix Version/s | 10.3.0 [ 22127 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Assignee | Alexander Barkov [ bar ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Labels | Compatibility NRE-307517 | Approved Compatibility NRE-307517 |
NRE Projects | NRE-307517 |
Labels | Approved Compatibility NRE-307517 | Approved Compatibility |
NRE Approved | Yes [ 10304 ] |
Labels | Approved Compatibility | Compatibility |
Labels | Compatibility | Compatibility need_review |
Labels | Compatibility need_review | Compatibility |
Workflow | MariaDB v3 [ 76694 ] | MariaDB v4 [ 150777 ] |
For first version, lets just ignore the extra options for truncate that only affects performance.