MySQL 9.1.0
Source Code Documentation
clone0snapshot.cc File Reference

Innodb physical Snapshot. More...

#include "clone0snapshot.h"
#include "clone0clone.h"
#include "log0log.h"
#include "page0zip.h"
#include "sql/handler.h"

Functions

static void set_page_encryption (IORequest &request, const page_id_t &page_id, const Clone_file_ctx *file_ctx)
 Set Page encryption information for IORequest. More...
 

Variables

const uint SNAPSHOT_MEM_INITIAL_SIZE = 16 * 1024
 Snapshot heap initial size. More...
 
const uint MAX_CLONES_PER_SNAPSHOT = 1
 Number of clones that can attach to a snapshot. More...
 

Detailed Description

Innodb physical Snapshot.

Function Documentation

◆ set_page_encryption()

static void set_page_encryption ( IORequest request,
const page_id_t page_id,
const Clone_file_ctx file_ctx 
)
static

Set Page encryption information for IORequest.

Parameters
[in,out]requestIO request
[in]page_idpage id
[in]file_ctxclone file context

Variable Documentation

◆ MAX_CLONES_PER_SNAPSHOT

const uint MAX_CLONES_PER_SNAPSHOT = 1

Number of clones that can attach to a snapshot.

◆ SNAPSHOT_MEM_INITIAL_SIZE

const uint SNAPSHOT_MEM_INITIAL_SIZE = 16 * 1024

Snapshot heap initial size.