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

DROP SERVER IF EXISTS does not return a warning

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • 5.1.67, 5.2.14, 5.3.12, 5.5(EOL), 10.0(EOL), 10.1(EOL)
    • N/A
    • Admin statements
    • Ubuntu 14.04
    • Not for Release Notes

    Description

      I would imagine DROP SERVER IF EXISTS is supposed to return a warning if the server does not exist, as do all the other "IF EXISTS" DROP statements. However, no warning appears.

      DROP SERVER server_1;
      ERROR 1477 (HY000): The foreign server name you are trying to reference does not exist. Data source error:  server_1
       
      DROP SERVER IF EXISTS server_1;
      Query OK, 0 rows affected (0.00 sec)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              greenman Ian Gilfillan
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.