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

engine options cannot be set together with partitioning

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 10.0.4, 5.2.14, 5.3.12, 5.5.33a
    • 5.5.34, 10.0.6
    • None
    • None

    Description

      One cannot specify engine options when creating a partitioned table:

      > CREATE TABLE bar (id int, key (id) CLUSTERING=YES) ENGINE=TokuDB COMPRESSION=TOKUDB_LZMA PARTITION BY HASH(id) PARTITIONS 4;
      ERROR 1911 (HY000): Unknown option 'CLUSTERING

      but adding partitioning later works fine

      > CREATE TABLE bar (id int, key (id) CLUSTERING=YES) ENGINE=TokuDB COMPRESSION=TOKUDB_LZMA;
      Query OK, 0 rows affected (0.02 sec)
       
      > ALTER TABLE bar PARTITION BY HASH(id) PARTITIONS 4;
      Query OK, 0 rows affected (0.08 sec)
      Records: 0  Duplicates: 0  Warnings: 0

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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