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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.5, 10.1, 10.2, 10.3, 10.4, 10.0
    • Fix Version/s: 5.5, 10.1, 10.2, 10.3, 10.4, 10.0
    • Component/s: None
    • Labels:
      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

            Assignee:
            sanja Oleksandr Byelkin
            Reporter:
            alice Alice Sherepa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: