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

    • Bug
    • Status: Confirmed (View Workflow)
    • Major
    • Resolution: Unresolved
    • 5.5.58, 5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL)
    • 10.4(EOL)
    • Storage Engine - Aria
    • Windows 7, any

    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

              monty Michael Widenius
              migra Michael Graf
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.