• Aleksey Midenkov's avatar
    MDEV-28576 RENAME COLUMN with NOCOPY algorithm leads to corrupt partitioned table · fa0cada9
    Aleksey Midenkov authored
    10.5 part: test cases and comments.
    The code is in the merge commit 74fe1c44
    
    When f.ex. table is partitioned by HASH(a) and we rename column `a' to
    `b' partitioning filter stays unchanged: HASH(a). That's the wrong
    behavior.
    
    The patch updates partitioning filter in accordance to the new columns
    names. That includes partition/subpartition expression and
    partition/subpartition field list.
    fa0cada9
sql_partition.cc 294 KB