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

DROP SERVER IF EXISTS does not return a warning

    XMLWordPrintable

Details

    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

        Activity

          People

            Unassigned Unassigned
            greenman Ian Gilfillan
            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.