MySQL 9.2.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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/components/services/bits/my_err_bits.h"
#include "mysqld_error.h"

Macros

#define OS_PATH_SEPARATOR   '/'
 

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
 

Macro Definition Documentation

◆ OS_PATH_SEPARATOR

#define OS_PATH_SEPARATOR   '/'

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