MySQL  8.0.19
Source Code Documentation
udf_reg_int_func.cc File Reference
#include <ctype.h>
#include <mysql/components/component_implementation.h>
#include <mysql/components/service_implementation.h>
#include <mysql/components/services/udf_registration.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <string>

Functions

 REQUIRES_SERVICE_PLACEHOLDER (udf_registration)
 
 REQUIRES_SERVICE_PLACEHOLDER (udf_registration_aggregate)
 
long long myfunc_int (UDF_INIT *, UDF_ARGS *args, unsigned char *, unsigned char *)
 
bool myfunc_int_init (UDF_INIT *, UDF_ARGS *, char *)
 
static mysql_service_status_t init ()
 
static mysql_service_status_t deinit ()
 
 END_COMPONENT_PROVIDES ()
 
 REQUIRES_SERVICE (udf_registration)
 
 REQUIRES_SERVICE (udf_registration_aggregate)
 
 END_COMPONENT_REQUIRES ()
 
 METADATA ("mysql.author", "Oracle Corporation")
 
 METADATA ("mysql.license", "GPL")
 
 METADATA ("test_property", "1")
 
 END_COMPONENT_METADATA ()
 

Variables

mysql_component_t mysql_component_test_udf_registration
 

Function Documentation

◆ deinit()

static mysql_service_status_t deinit ( )
static

◆ END_COMPONENT_METADATA()

END_COMPONENT_METADATA ( )

◆ END_COMPONENT_PROVIDES()

END_COMPONENT_PROVIDES ( )

◆ END_COMPONENT_REQUIRES()

END_COMPONENT_REQUIRES ( )

◆ init()

static mysql_service_status_t init ( )
static

◆ METADATA() [1/3]

METADATA ( "mysql.author"  ,
"Oracle Corporation"   
)

◆ METADATA() [2/3]

METADATA ( "mysql.license"  ,
"GPL"   
)

◆ METADATA() [3/3]

METADATA ( "test_property"  ,
"1"   
)

◆ myfunc_int()

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

◆ myfunc_int_init()

bool myfunc_int_init ( UDF_INIT ,
UDF_ARGS ,
char *   
)

◆ REQUIRES_SERVICE() [1/2]

REQUIRES_SERVICE ( udf_registration  )

◆ REQUIRES_SERVICE() [2/2]

REQUIRES_SERVICE ( udf_registration_aggregate  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [1/2]

REQUIRES_SERVICE_PLACEHOLDER ( udf_registration  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [2/2]

REQUIRES_SERVICE_PLACEHOLDER ( udf_registration_aggregate  )

Variable Documentation

◆ mysql_component_test_udf_registration

mysql_component_t mysql_component_test_udf_registration
Initial value:
= { "mysql:test_udf_registration" , __test_udf_registration_provides, __test_udf_registration_requires, __test_udf_registration_metadata,
deinit
static mysql_service_status_t deinit()
Definition: udf_reg_int_func.cc:92
init
static mysql_service_status_t init()
Definition: udf_reg_int_func.cc:84