• Marko Mäkelä's avatar
    MDEV-34879 InnoDB fails to merge the change buffer to ROW_FORMAT=COMPRESSED tables · a74bea7b
    Marko Mäkelä authored
    buf_page_t::read_complete(): Fix an incorrect condition that had been
    added in commit aaef2e1d (MDEV-27058).
    Also for compressed-only pages we must remember that buffered changes
    may exist.
    
    buf_read_page(): Correct the function comment; this is for a synchronous
    and not asynchronous read. Pass the parameter unzip=true to
    buf_read_page_low(), because each of our callers will be interested in
    the uncompressed page frame. This will cause the test
    encryption.innodb-compressed-blob to emit more errors when the
    correct keys for decrypting the clustered index root page are unavailable.
    
    Reviewed by: Debarun Banerjee
    a74bea7b
buf0rea.cc 24.1 KB