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

CREATE fails after DROP without FRM

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.5
    • 10.5.7
    • Server
    • None

    Description

      Reproduce

      --source include/have_innodb.inc
      --let $DATADIR= `select @@datadir`
       
      create table parent (id int not null, primary key (id)) engine=innodb;
      select * from parent;
      --remove_file $datadir/test/parent.frm
       
      drop table parent;
      create table parent (id int not null, primary key (id)) engine=innodb;
       
      # Cleanup
      drop table parent;
      

      Result

      mysqltest: At line 9: query 'create table parent (id int not null, primary key (id)) engine=innodb' failed: 1050: Table 'parent' already exists
      

      Related tests

      main.drop_table_force

      Attachments

        Issue Links

          Activity

            People

              midenok Aleksey Midenkov
              midenok Aleksey Midenkov
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.