MySQL  8.0.17
Source Code Documentation
engine_loader.c File Reference
#include "config.h"
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <dlfcn.h>
#include "utilities/engine_loader.h"
#include <memcached/types.h>

Functions

bool load_engine (const char *soname, SERVER_HANDLE_V1 *(*get_server_api)(void), EXTENSION_LOGGER_DESCRIPTOR *logger, ENGINE_HANDLE **engine_handle)
 
bool init_engine (ENGINE_HANDLE *engine, const char *config_str, EXTENSION_LOGGER_DESCRIPTOR *logger)
 
void log_engine_details (ENGINE_HANDLE *engine, EXTENSION_LOGGER_DESCRIPTOR *logger)
 

Variables

static const char *const feature_descriptions []
 
void * handle = NULL
 

Function Documentation

◆ init_engine()

bool init_engine ( ENGINE_HANDLE *  engine,
const char *  config_str,
EXTENSION_LOGGER_DESCRIPTOR *  logger 
)

◆ load_engine()

bool load_engine ( const char *  soname,
SERVER_HANDLE_V1 *(*)(void)  get_server_api,
EXTENSION_LOGGER_DESCRIPTOR *  logger,
ENGINE_HANDLE **  engine_handle 
)

◆ log_engine_details()

void log_engine_details ( ENGINE_HANDLE *  engine,
EXTENSION_LOGGER_DESCRIPTOR *  logger 
)

Variable Documentation

◆ feature_descriptions

const char* const feature_descriptions[]
static
Initial value:
= {
"compare and swap",
"persistent storage",
"secondary engine",
"access control",
"multi tenancy",
"LRU"
}

◆ handle

void* handle = NULL