Commit 7b538bb8 authored by marko's avatar marko

branches/zip: buf_buddy_alloc_from(): Relax a debug assertion that fails

on i==j==BUF_BUDDY_SIZES.
parent 388af7a7
......@@ -243,7 +243,7 @@ buf_buddy_alloc_from(
{
ulint offs = BUF_BUDDY_LOW << j;
ut_ad(j <= BUF_BUDDY_SIZES);
ut_ad(j > i);
ut_ad(j >= i);
ut_ad(!ut_align_offset(buf, offs));
/* Add the unused parts of the block to the free lists. */
......
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