32#ifndef MYSQL_PAGE_TRACK_SERVICE_H
33#define MYSQL_PAGE_TRACK_SERVICE_H
43#define MYSQL_THD THD *
45#define MYSQL_THD void *
67 size_t buf_len,
int num_pages,
121 uint64_t *purge_id));
148 uint64_t *stop_id,
unsigned char *
buffer,
size_t buffer_len,
172 uint64_t *stop_id, uint64_t *num_pages));
191 uint64_t *initial_start_id, uint64_t *last_start_id));
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
static void start(mysql_harness::PluginFuncEnv *env)
Definition: http_auth_backend_plugin.cc:180
void purge(lob::DeleteContext *ctx, dict_index_t *index, trx_id_t trxid, undo_no_t undo_no, ulint rec_type, const upd_field_t *uf, purge_node_t *node)
Purge an LOB (either of compressed or uncompressed).
Definition: lob0purge.cc:414
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:418
#define MYSQL_THD
Definition: page_track_service.h:43
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.
Definition: page_track_service.h:66
Page_Track_SE
SE for the page tracking.
Definition: page_track_service.h:51
@ PAGE_TRACK_SE_INNODB
Definition: page_track_service.h:51
#define DECLARE_METHOD(retval, name, args)
Declares a method as a part of the Service definition.
Definition: service.h:103
#define END_SERVICE_DEFINITION(name)
A macro to end the last Service definition started with the BEGIN_SERVICE_DEFINITION macro.
Definition: service.h:91
#define BEGIN_SERVICE_DEFINITION(name)
Declares a new Service.
Definition: service.h:86