• unknown's avatar
    BUG#20770: DATA DIRECTORY and INDEX DIRECTORY error when ALTER TABLE ADD/DROP/REORGANIZE partition · 43179555
    unknown authored
               Also some error in handling options for subpartitions.
    
    
    mysql-test/r/partition.result:
      New test cases
    mysql-test/t/partition.test:
      New test cases
    sql/ha_partition.cc:
      Added partition_element to prepare_new_partition so that we can properly set-up table
      before creating partitions.
    sql/ha_partition.h:
      Added partition_element to prepare_new_partition so that we can properly set-up table
      before creating partitions.
    sql/sql_yacc.yy:
      Ensure that subpartitions always inherit options from the partition they belong to.
      They can change it afterwards but will use the options as set on partition level
      if set at that level.
    43179555
ha_partition.cc 156 KB