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

DROP DATABASE with a newly created ARCHIVE table does not work

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.2
    • Fix Version/s: 10.0.4
    • Component/s: None
    • Labels:
      None

      Description

      MariaDB [test]> CREATE TABLE t1 (i INT) ENGINE=ARCHIVE;
      Query OK, 0 rows affected (0.01 sec)
      
      MariaDB [test]> DROP DATABASE test;
      ERROR 1010 (HY000): Error dropping database (can't rmdir './test', errno: 39 "Directory not empty")
      

      I presume it has something to do with a lack of proper discovery on DROP DATABASE.
      In previous versions the same scenario seems to work okay.

      Test case:

      
      --source include/have_archive.inc
      
      CREATE TABLE t1 (i INT) ENGINE=ARCHIVE;
      DROP DATABASE test;
      
      revision-id: bar@mariadb.org-20130424142022-u4xhikvoqggze9b0
      revno: 3745
      branch-nick: 10.0
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              serg Sergei Golubchik added a comment -

              pushed in 10.0-base

              Show
              serg Sergei Golubchik added a comment - pushed in 10.0-base

                People

                • Assignee:
                  serg Sergei Golubchik
                  Reporter:
                  elenst Elena Stepanova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 4 hours
                    4h
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 4 hours
                    4h