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

MariaDB server crashes when REPAIR TABLE is called and *.mad file doesn't exist

    XMLWordPrintable

    Details

      Description

      If the following commands are executed then MariaDB server crashs:

      CREATE DATABASE IF NOT EXISTS test_repair_table_error;
       
      CREATE TABLE IF NOT EXISTS test_repair_table_error.test_table(
       `ID` INT NOT NULL AUTO_INCREMENT,
       `Name` VARCHAR(50) NOT NULL DEFAULT '0',
       PRIMARY KEY (`ID`)
      ) COLLATE='latin1_swedish_ci' ENGINE=aria;
       
      INSERT INTO test_repair_table_error.test_table (`Name`) VALUES ('testname');
       
      -- Delete file table-file test_repair_table_error.test_table.mad
       
      REPAIR TABLE test_repair_table_error.test_table; 
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vlad.lesin Vladislav Lesin
              Reporter:
              migra Michael Graf
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: