MySQL 8.0.39
Source Code Documentation
Secondary_engine Class Reference

#include <secondary_engine.h>

Public Member Functions

 Secondary_engine ()=default
 
 ~Secondary_engine ()=default
 
bool offload_count (MYSQL *mysql, const char *mode)
 Get the secondary engine execution count value. More...
 
void report_offload_count (const char *filename)
 Report secondary engine execution count value. More...
 

Constructor & Destructor Documentation

◆ Secondary_engine()

Secondary_engine::Secondary_engine ( )
default

◆ ~Secondary_engine()

Secondary_engine::~Secondary_engine ( )
default

Member Function Documentation

◆ offload_count()

bool Secondary_engine::offload_count ( MYSQL mysql,
const char *  mode 
)

Get the secondary engine execution count value.

Get secondary engine execution count value.

Parameters
mysqlmysql handle
modeMode value (either "after" or "before")
Return values
Trueif the query fails, false otherwise.

◆ report_offload_count()

void Secondary_engine::report_offload_count ( const char *  filename)

Report secondary engine execution count value.

Parameters
filenameFile to store the count value

The documentation for this class was generated from the following files: