Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lancelly committed Oct 18, 2023
1 parent a9e62d2 commit ef921dd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1242,12 +1242,12 @@ public ASTNode visitAlterPluggableDatabase(final AlterPluggableDatabaseContext c
public ASTNode visitCreateProcedure(final CreateProcedureContext ctx) {
return new OracleCreateProcedureStatement();
}

@Override
public ASTNode visitPlsqlBlock(final PlsqlBlockContext ctx) {
return new OraclePLSQLBlockStatement();
}

@Override
public ASTNode visitAlterProcedure(final AlterProcedureContext ctx) {
return new OracleAlterProcedureStatement();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ public enum SQLVisitorRule {
EMPTY_STATEMENT("EmptyStatement", SQLStatementType.DAL),

CREATE_JAVA("CreateJava", SQLStatementType.DDL),

PLSQL_BLOCK("PlsqlBlock", SQLStatementType.DDL);

private final String name;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.apache.shardingsphere.sql.parser.sql.dialect.statement.oracle.ddl;

import org.apache.shardingsphere.sql.parser.sql.dialect.statement.oracle.OracleStatement;

public final class OraclePLSQLBlockStatement implements OracleStatement {

@Override
public int getParameterCount() {
return 0;
Expand Down

0 comments on commit ef921dd

Please sign in to comment.