• Monty's avatar
    MDEV-16682 Assertion `(buff[7] & 7) == HEAD_PAGE' failed · 42f09ada
    Monty authored
    Problem was that SQL level tried to read a record with rnd_pos()
    that was already deleted by the same statement.
    In the case where the page for the record had been deleted, this
    caused an assert.
    Fixed by extending the assert to also handle empty pages and
    return HA_ERR_RECORD_DELETED for reads to deleted pages.
    42f09ada
maria.test 70 KB