• Mattias Jonsson's avatar
    Bug#58147: ALTER TABLE w/ TRUNCATE PARTITION fails · f3c6e6ff
    Mattias Jonsson authored
               but the statement is written to binlog
    
    TRUNCATE PARTITION was written to the binlog
    even if it failed before calling any partition's
    truncate function.
    
    Solved by adding an argument to truncate_partition,
    to flag if it should be written to the binlog or not.
    
    It should be written to the binlog when a call to any
    partitions truncate function is done.
    f3c6e6ff
ha_partition.h 45.4 KB