MySQL 9.1.0
Source Code Documentation
backup_page_tracker.h File Reference
#include <mysql/components/services/page_track_service.h>
#include <list>
#include "mysqlbackup.h"

Go to the source code of this file.

Classes

struct  udf_data_t
 Contains all the necessary data to register an UDF in MySQL. More...
 
class  Backup_page_tracker
 

Macros

#define MYSQL_THD   THD *
 
#define CHANGED_PAGES_BUFFER_SIZE   (16 * 1024 * 1024)
 

Functions

 REQUIRES_SERVICE_PLACEHOLDER (mysql_page_track)
 
int page_track_callback (MYSQL_THD opaque_thd, const uchar *buffer, size_t buffer_length, int page_count, void *context)
 Callback method from InnoDB page-tracking to return the changed pages. More...
 

Macro Definition Documentation

◆ CHANGED_PAGES_BUFFER_SIZE

#define CHANGED_PAGES_BUFFER_SIZE   (16 * 1024 * 1024)

◆ MYSQL_THD

#define MYSQL_THD   THD *

Function Documentation

◆ page_track_callback()

int page_track_callback ( MYSQL_THD  opaque_thd,
const uchar buffer,
size_t  buffer_length,
int  page_count,
void *  context 
)

Callback method from InnoDB page-tracking to return the changed pages.

Parameters
[in]opaque_thdCurrent thread context.
[in]bufferBuffer filled with 8 byte page ids.
[in]buffer_lengthTotal buffer length
[in]page_countNumber of pages in the buffer
[in]contextUser data pointer passed to the InnoDB service
Returns
Status if the call-back was successful in handling the data
Return values
0success
non-zerofailure

◆ REQUIRES_SERVICE_PLACEHOLDER()

REQUIRES_SERVICE_PLACEHOLDER ( mysql_page_track  )