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

Wrong note "function .. has the same name..." on a general keyword

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL)
    • 10.11
    • Parser
    • None

    Description

      However, the warning happens not only on conflicting function names, but on absolutely all keywords:

      CREATE OR REPLACE FUNCTION `create`() RETURNS INT RETURN 1;
      SHOW WARNINGS;
      

      +-------+------+---------------------------------------------------------------+
      | Level | Code | Message                                                       |
      +-------+------+---------------------------------------------------------------+
      | Note  | 1585 | This function 'create' has the same name as a native function |
      +-------+------+---------------------------------------------------------------+
      

      The above warning looks wrong.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:

                Git Integration

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