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

Table named 'db' has weird side effect.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0.27
    • 10.0.28
    • OTHER
    • None
    • 10.0.28

    Description

      DROP DATABASE fails if there is a table with the name 'db' there.

      MariaDB [(none)]> CREATE DATABASE exp_db;
      Query OK, 1 row affected (0.04 sec)
       
      MariaDB [(none)]> CREATE TABLE exp_db.db(id int);
      Query OK, 0 rows affected (1.55 sec)
       
      MariaDB [(none)]> DROP DATABASE exp_db;
      ERROR 1010 (HY000): Error dropping database (can't rmdir './exp_db', errno: 39 "Directory not empty")
      

      Attachments

        Issue Links

          Activity

            People

              holyfoot Alexey Botchkov
              holyfoot Alexey Botchkov
              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.