branches/zip: fsp_fill_free_list(): Replace % with ut_2pow_remainder().

This commit is contained in:
marko 2006-06-21 11:14:11 +00:00
parent bbd6d812d3
commit bfb9c2d0fb

View file

@ -1313,9 +1313,9 @@ fsp_fill_free_list(
ibool init_xdes;
if (zip_size) {
init_xdes = i % zip_size == 0;
init_xdes = ut_2pow_remainder(i, zip_size) == 0;
} else {
init_xdes = i % UNIV_PAGE_SIZE == 0;
init_xdes = ut_2pow_remainder(i, UNIV_PAGE_SIZE) == 0;
}
mlog_write_ulint(header + FSP_FREE_LIMIT, i + FSP_EXTENT_SIZE,