• unknown's avatar
    BUG#21350: No errors on using erroneus DATA DIRECTORY clause · 09a27bb2
    unknown authored
    set_up_table_before_create can fail due to erroneus path to
    data directory or index directory
    Added abort handling to ensure created partitions are dropped
    if a failure occurs in the middle of the create process.
    
    
    mysql-test/r/partition.result:
      New test cases
    mysql-test/t/partition.test:
      New test cases
    sql/ha_partition.cc:
      set_up_table_before_create can fail due to erroneus path to
      data directory or index directory
      Added abort handling to ensure created partitions are dropped
      if a failure occurs in the middle of the create process.
    sql/ha_partition.h:
      set_up_table_before_create can fail due to erroneus path to
      data directory or index directory
      Added abort handling to ensure created partitions are dropped
      if a failure occurs in the middle of the create process.
    09a27bb2
ha_partition.h 39.9 KB