MySQL 8.4.2
Source Code Documentation
buf.h File Reference

The database buffer pool high-level routines. More...

#include "univ.i"
#include "page0size.h"

Go to the source code of this file.

Functions

bool buf_page_is_zeroes (const byte *read_buf, const page_size_t &page_size)
 Checks if a page contains only zeroes. More...
 

Detailed Description

The database buffer pool high-level routines.

Created 11/5/1995 Heikki Tuuri

Function Documentation

◆ buf_page_is_zeroes()

bool buf_page_is_zeroes ( const byte read_buf,
const page_size_t page_size 
)

Checks if a page contains only zeroes.

Parameters
[in]read_bufdatabase page
[in]page_sizepage size
Returns
true if page is filled with zeroes