• unknown's avatar
    BUG#19067: Crash when ALTER TABLE for default subpartitioned table · 661537c7
    unknown authored
    
    mysql-test/r/partition.result:
      New test cases
    mysql-test/r/partition_02myisam.result:
      ENGINE always specified per partition in show table
    mysql-test/t/partition.test:
      New test cases
    sql/partition_element.h:
      New copy constructor for partition_element
    sql/partition_info.cc:
      Use new copy constructor to ensure default subpartitions inherit partition options from parent
      Ensure engine is always set on both partitions and subpartitions
    sql/sql_partition.cc:
      Removed unneeded bool to generate_partition_syntax
      Write partition options also for subpartitioned tables when subpartitioning is by default
      Set up defaults for new partitions also in REORGANIZE PARTITION
    sql/sql_partition.h:
      Removed unneeded parameter to generate_partition_syntax call
    sql/sql_show.cc:
      Removed unneeded parameter to generate_partition_syntax call
    sql/sql_table.cc:
      Removed unneeded parameter to generate_partition_syntax call
    661537c7
partition.test 24 KB