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

Query ALTER TABLE .. ENGINE = MERGE succeed, while error is expected

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 5.5, 10.0, 10.1, 10.2, 10.3, 10.4
    • 10.4
    • None
    • None

    Description

      CREATE TABLE t (i1 int) ;
      ALTER TABLE t ENGINE = MERGE UNION ( t1 , t2 ); ## t1, t2 do not exist - the error is expected
      ALTER TABLE t ENGINE = MERGE UNION ( t1 , t2 );  # but here query returned the error
       
      drop table t;
      

      CREATE TABLE t (i1 int) ;
      ALTER TABLE t ENGINE = MERGE UNION ( t1 , t2 );
      ALTER TABLE t ENGINE = MERGE UNION ( t1 , t2 );
      main.1_my 'innodb'                       [ fail ]
       
      CURRENT_TEST: main.1_my
      mysqltest: At line 26: query 'ALTER TABLE t ENGINE = MERGE UNION ( t1 , t2 )' failed: 1168: Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist
      

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            alice Alice Sherepa
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.