#include <mysql/components/service.h>
#include <functional>
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
◆ MYSQL_THD
◆ mysql_service_mysql_page_track_t
◆ Page_Track_Callback
typedef int(* Page_Track_Callback) (MYSQL_THD thd, const unsigned char *buffer, size_t buf_len, int num_pages, void *user_ctx) |
Page tracking callback function.
- Parameters
-
[in] | thd | Current thread context |
[in] | buffer | buffer filled with 8 byte page ids; the format is specific to SE. For InnoDB it is space_id (4 bytes) followed by page number (4 bytes) |
[in] | buf_len | length of buffer in bytes |
[in] | num_pages | number of valid page IDs in buffer |
[in,out] | user_ctx | user context passed to page tracking function |
- Returns
- Operation status.
◆ Page_Track_SE
SE for the page tracking.
Currently supports only in InnoDB.
Enumerator |
---|
PAGE_TRACK_SE_INNODB | |