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

Table named 'db' has weird side effect.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.27
    • Fix Version/s: 10.0.28
    • Component/s: OTHER
    • Labels:
      None
    • Sprint:
      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

              • Assignee:
                holyfoot Alexey Botchkov
                Reporter:
                holyfoot Alexey Botchkov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: