MySQL 9.1.0
Source Code Documentation
backup_page_tracker.cc File Reference
#include "backup_page_tracker.h"
#include <algorithm>
#include <fcntl.h>
#include <sys/stat.h>
#include "backup_comp_constants.h"
#include "mysql/plugin.h"
#include "mysqld_error.h"

Functions

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

Variables

char * mysqlbackup_backup_id
 

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

Variable Documentation

◆ mysqlbackup_backup_id

char* mysqlbackup_backup_id
extern