imzhangds commented on code in PR #30729:
URL: https://github.com/apache/shardingsphere/pull/30729#discussion_r1547060858
##########
parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/PLSQL.g4:
##########
@@ -314,6 +321,13 @@ ifStatement
END IF SEMI_
;
+modifyingStatement
+ : IF modifyingExpression THEN statement+
Review Comment:
I have finished the modifications now.
##########
parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/PLSQL.g4:
##########
@@ -574,15 +588,15 @@ plsqlTriggerSource
;
simpleDmlTrigger
- : (BEFORE | AFTER) dmlEventClause (FOR EACH ROW)? triggerBody
+ : (BEFORE | AFTER) dmlEventClause (FOR EACH ROW)? () ? triggerBody
Review Comment:
I have finished the modifications now.
##########
parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/PLSQL.g4:
##########
@@ -216,6 +217,12 @@ iterationCtlSeq
: qualIterationCtl (COMMA_ qualIterationCtl)*
;
+modifyingExpression
+ : INSERTING
+ | DELETING
Review Comment:
I have finished the modifications now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]