diff options
Diffstat (limited to 'storage/innobase/include/buf0buddy.ic')
-rw-r--r-- | storage/innobase/include/buf0buddy.ic | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/storage/innobase/include/buf0buddy.ic b/storage/innobase/include/buf0buddy.ic index b8281f7341a..be2f950162d 100644 --- a/storage/innobase/include/buf0buddy.ic +++ b/storage/innobase/include/buf0buddy.ic @@ -11,8 +11,8 @@ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 Temple -Place, Suite 330, Boston, MA 02111-1307 USA +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA *****************************************************************************/ @@ -77,7 +77,7 @@ buf_buddy_get_slot( ulint i; ulint s; - ut_ad(size >= PAGE_ZIP_MIN_SIZE); + ut_ad(size >= UNIV_ZIP_SIZE_MIN); for (i = 0, s = BUF_BUDDY_LOW; s < size; i++, s <<= 1) { } @@ -99,7 +99,7 @@ buf_buddy_alloc( buf_pool_t* buf_pool, /*!< in/out: buffer pool in which the page resides */ ulint size, /*!< in: compressed page size - (between PAGE_ZIP_MIN_SIZE and + (between UNIV_ZIP_SIZE_MIN and UNIV_PAGE_SIZE) */ ibool* lru) /*!< in: pointer to a variable that will be assigned TRUE if @@ -109,7 +109,7 @@ buf_buddy_alloc( { ut_ad(buf_pool_mutex_own(buf_pool)); ut_ad(ut_is_2pow(size)); - ut_ad(size >= PAGE_ZIP_MIN_SIZE); + ut_ad(size >= UNIV_ZIP_SIZE_MIN); ut_ad(size <= UNIV_PAGE_SIZE); return((byte*) buf_buddy_alloc_low(buf_pool, buf_buddy_get_slot(size), @@ -131,7 +131,7 @@ buf_buddy_free( { ut_ad(buf_pool_mutex_own(buf_pool)); ut_ad(ut_is_2pow(size)); - ut_ad(size >= PAGE_ZIP_MIN_SIZE); + ut_ad(size >= UNIV_ZIP_SIZE_MIN); ut_ad(size <= UNIV_PAGE_SIZE); buf_buddy_free_low(buf_pool, buf, buf_buddy_get_slot(size)); |