• Mattias Jonsson's avatar
    Bug#39434: ALTER TABLE CHECK/OPTIMIZE/ANALYZE PARTITION work · f113311d
    Mattias Jonsson authored
    on non-partitioned table
    
    Problem was that partitioning specific commands was accepted
    for non partitioned tables and treated like
    ANALYZE/CHECK/OPTIMIZE/REPAIR TABLE, after bug-20129 was fixed,
    which changed the code path from mysql_alter_table to
    mysql_admin_table.
    
    Solution was to check if the table was partitioned before
    trying to execute the admin command
    f113311d
partition_mgm_err.result 6.46 KB