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

CREATE fails after DROP without FRM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.5
    • Fix Version/s: 10.5.7
    • Component/s: Server
    • Labels:
      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

              Assignee:
              midenok Aleksey Midenkov
              Reporter:
              midenok Aleksey Midenkov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: