• Aleksey Midenkov's avatar
    MDEV-29841 More descriptive text for ER_PARTITION_WRONG_TYPE · 6f8fb41f
    Aleksey Midenkov authored
    For commands
    
      (1) alter table t1 add partition (partition p2);
      (2) alter table t1 add partition (partition px history);
    
    It printed the same error message:
    
       Wrong partitioning type, expected type: `SYSTEM_TIME`
    
    For (1) it is not clear from the syntax that we are trying to add
    HASH partition. For (2) it is not clear that the table partitioning is
    different than SYSTEM_TIME. Now it prints what type we are trying to
    add to what type of partitioning.
    6f8fb41f
errmsg-utf8.txt 701 KB