• Aleksey Midenkov's avatar
    MDEV-27217 DELETE partition selection doesn't work for history partitions · 4d5ae2b3
    Aleksey Midenkov authored
    LIMIT history switching requires the number of history partitions to
    be marked for read: from first to last non-empty plus one empty. The
    least we can do is to fail with error message if the needed partition
    was not marked for read. As this is handler interface we require new
    handler error code to display user-friendly error message.
    
    Switching by INTERVAL works out-of-the-box with
    ER_ROW_DOES_NOT_MATCH_GIVEN_PARTITION_SET error.
    4d5ae2b3
my_base.h 25.7 KB