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

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0.2
    • 10.0.4
    • None
    • 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

              serg Sergei Golubchik
              elenst Elena Stepanova
              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.