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

DROP DATABASE with a newly created ARCHIVE table does not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • 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

        Attachments

          Issue Links

            Activity

              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:

                  Git Integration