• Mattias Jonsson's avatar
    Bug#40389: REORGANIZE PARTITION crashes when only using one partition · 8f39d258
    Mattias Jonsson authored
    The non documented command 'ALTER PARTITION t REORGANIZE PARTITION'
    (without any partitions!) which only make sense for nativly
    partitioned engines, such as NDB, crashes the server if there was
    no change of number of partitions.
    
    The problem was wrong usage of fast_end_partition function,
    which led to usage of a non initialized variable.
    8f39d258
partition_mgm.test 2.02 KB