MySQL 9.1.0
Source Code Documentation
locking_service_udf.cc File Reference
#include <string.h>
#include <sys/types.h>
#include "my_inttypes.h"
#include "my_macros.h"
#include "mysql/service_locking.h"
#include "mysql/udf_registration_types.h"
#include "sql/locking_service.h"

Functions

static bool init_acquire (UDF_INIT *initid, UDF_ARGS *args, char *message)
 
bool service_get_read_locks_init (UDF_INIT *initid, UDF_ARGS *args, char *message)
 
long long service_get_read_locks (UDF_INIT *, UDF_ARGS *args, unsigned char *, unsigned char *)
 
bool service_get_write_locks_init (UDF_INIT *initid, UDF_ARGS *args, char *message)
 
long long service_get_write_locks (UDF_INIT *, UDF_ARGS *args, unsigned char *, unsigned char *)
 
bool service_release_locks_init (UDF_INIT *initid, UDF_ARGS *args, char *message)
 
long long service_release_locks (UDF_INIT *, UDF_ARGS *args, unsigned char *, unsigned char *)
 

Function Documentation

◆ init_acquire()

static bool init_acquire ( UDF_INIT initid,
UDF_ARGS args,
char *  message 
)
inlinestatic

◆ service_get_read_locks()

long long service_get_read_locks ( UDF_INIT ,
UDF_ARGS args,
unsigned char *  ,
unsigned char *   
)

◆ service_get_read_locks_init()

bool service_get_read_locks_init ( UDF_INIT initid,
UDF_ARGS args,
char *  message 
)

◆ service_get_write_locks()

long long service_get_write_locks ( UDF_INIT ,
UDF_ARGS args,
unsigned char *  ,
unsigned char *   
)

◆ service_get_write_locks_init()

bool service_get_write_locks_init ( UDF_INIT initid,
UDF_ARGS args,
char *  message 
)

◆ service_release_locks()

long long service_release_locks ( UDF_INIT ,
UDF_ARGS args,
unsigned char *  ,
unsigned char *   
)

◆ service_release_locks_init()

bool service_release_locks_init ( UDF_INIT initid,
UDF_ARGS args,
char *  message 
)