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

on i==j==BUF_BUDDY_SIZES.
This commit is contained in:
marko 2008-02-15 10:07:42 +00:00
parent 388af7a7bb
commit 7b538bb8ea

View file

@ -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. */