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

Discovery of partitioned table fails

    XMLWordPrintable

    Details

      Description

      Reproduce

      install soname 'ha_federatedx';
       
      create or replace table t1 (x int)
      partition by range columns (x) (
          partition p0 values less than (100),
          partition p1 values less than (1000));
      --replace_result $MASTER_MYPORT MASTER_MYPORT
      eval create or replace table tf engine=FEDERATED connection='mysql://root@127.0.0.1:$MASTER_MYPORT/test/t1';
       
      drop database test;
      create database test;
      uninstall soname 'ha_federatedx';
      

      Result

      mysqltest: At line 9: query 'create or replace table tf engine=FEDERATED connection='mysql://root@127.0.0.1:$MASTER_MYPORT/test/t1'' failed: 1939: Engine FEDERATED failed to discover table `test`.`tf` with 'CREATE TABLE `t1` (
        `x` int(11) DEFAULT NULL
      )
       PARTITION BY RANGE  COLUMNS(`x`)
      (PARTITION `p0` VALUES LESS THAN (100),
       PARTITION `p1` VALUES LESS THAN (1000)) CONNECTION='mysql://root@127.0.0.1:16060/test/t1''
      

      Expected

      No error.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:

                Git Integration