MySQL 9.1.0
Source Code Documentation
|
Innodb copy snapshot data. More...
#include "buf0dump.h"
#include "clone0clone.h"
#include "dict0dict.h"
#include "fsp0sysspace.h"
#include "sql/binlog.h"
#include "sql/clone_handler.h"
#include "sql/handler.h"
#include "sql/mysqld.h"
#include "srv0start.h"
Functions | |
static int | add_redo_file_callback (char *file_name, uint64_t file_size, uint64_t file_offset, void *context) |
Callback to add an archived redo file to current snapshot. More... | |
static int | add_page_callback (void *context, byte *buff, uint num_pages) |
Callback to add tracked page IDs to current snapshot. More... | |
THD * | thd_get_current_thd () |
Get current THD object from thread local data. More... | |
Innodb copy snapshot data.
|
static |
Callback to add tracked page IDs to current snapshot.
[in] | context | snapshot |
[in] | buff | buffer having page IDs |
[in] | num_pages | number of tracked pages |
|
static |
Callback to add an archived redo file to current snapshot.
[in] | file_name | file name |
[in] | file_size | file size in bytes |
[in] | file_offset | start offset in bytes |
[in] | context | snapshot |
THD * thd_get_current_thd | ( | ) |
Get current THD object from thread local data.
The | THD object for the thread, NULL if not connection thread |