• Mattias Jonsson's avatar
    Bug#57890: Assertion failed: next_insert_id == 0 · a58527de
    Mattias Jonsson authored
               with on duplicate key update
    
    There was a missed corner case in the partitioning
    handler, which caused the next_insert_id to be changed
    in the second level handlers (i.e the hander of a partition),
    which caused this debug assertion.
    
    The solution was to always ensure that only the partitioning
    level generates auto_increment values, since if it was done
    within a partition, it may fail to match the partition
    function.
    a58527de
partition_auto_increment_memory.result 23.8 KB