Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-20985

Add LEX methods stmt_drop_{function|procedure}() and stmt_alter_{function|procedure}_start()

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.5.0
    • Parser
    • None

    Description

      In order to unify sql_yacc.yy and sql_yacc_ora.yy easier let's add these methods to LEX:

      bool stmt_drop_function(const DDL_options_st &options,
                               const Lex_ident_sys_st &db,
                               const Lex_ident_sys_st &name);
      bool stmt_drop_function(const DDL_options_st &options,
                             const Lex_ident_sys_st &name);
      bool stmt_drop_procedure(const DDL_options_st &options,
                               sp_name *name);
      bool stmt_alter_function_start(sp_name *name);
      bool stmt_alter_procedure_start(sp_name *name);
      

      and thus simplify the code in *.yy related to:

      • DROP FUNCTION
      • DROP PROCEDURE
      • ALTER FUNCTION
      • ALTER PROCEDURE

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.