• Marko Mäkelä's avatar
    Bug#16400920 INNODB TRIES TO PASS EMPTY BUFFER TO ZLIB, GETS Z_BUF_ERROR · d065d727
    Marko Mäkelä authored
    page_zip_compress_node_ptrs(): Do not attempt to invoke deflate() with
    c_stream->avail_in, because it will result in Z_BUF_ERROR (and
    page_zip_compress() failure and unnecessary further splits of the node
    pointer page). A node pointer record can have empty payload, provided
    that all key fields are empty.
    
    Approved by Jimmy Yang
    d065d727
page0zip.c 135 KB