MySQL 8.0.40
Source Code Documentation
buf.cc File Reference

The database buffer buf_pool. More...

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

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 buf_pool.

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