Commit 6f6aefb5 authored by marko's avatar marko

branches/zip: buf_LRU_get_free_block(): Add an UNIV_UNLIKELY hint

around zip_size.  zip_size will be 0 most of the time.
parent 0aff0fdf
......@@ -491,7 +491,7 @@ loop:
block->page.zip.m_nonempty =
block->page.zip.n_blobs = 0;
if (zip_size) {
if (UNIV_UNLIKELY(zip_size)) {
ibool lru;
page_zip_set_size(&block->page.zip, zip_size);
block->page.zip.data = buf_buddy_alloc(zip_size, &lru);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment