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

LP:992947 - Wrong error message when attempting to create a view for a database that does not exists

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      If we try to create a view in a database that does not exists MariaDB 5.2 returns a wrong message:

      MariaDB [test]> DROP DATABASE IF EXISTS nodb;
      Query OK, 0 rows affected, 1 warning (0.00 sec)

      MariaDB [test]> CREATE VIEW nodb.a AS SELECT 1;
      ERROR 1 (HY000): Can't create/write to file './nodb/a.frm~' (Errcode: 2)

      (see also bug #12626844 in mysql).

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            igor Igor Babaev
            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.