MySQL  8.0.22
Source Code Documentation
test_mysql_runtime_error.cc File Reference
#include <assert.h>
#include <mysql/components/component_implementation.h>
#include <mysql/components/services/udf_registration.h>
#include <mysqld_error.h>
#include <stdio.h>
#include <mysql/components/services/mysql_runtime_error_service.h>

Classes

struct  mysql_runtime_error::s_mysql_mysql_runtime_error
 This service defines the error report function api. More...
 

Namespaces

 mysql_runtime_error
 

Typedefs

typedef struct mysql_runtime_error::s_mysql_mysql_runtime_error mysql_runtime_error::mysql_service_mysql_runtime_error_t
 This service defines the error report function api. More...
 
typedef int mysql_runtime_error::myf
 

Functions

 mysql_runtime_error::REQUIRES_SERVICE_PLACEHOLDER (mysql_runtime_error)
 
void mysql_runtime_error::mysql_error_service_emit_printf (const mysql_service_mysql_runtime_error_t *error_svc_handle, int error_id, int flags,...)
 This function is substitute api service for my_error function. More...
 
void mysql_runtime_error::mysql_error_service_printf (int error_id, int flags,...)
 This function can be used in components code as a replacement for my_error() server function. More...
 
 mysql_runtime_error::REQUIRES_SERVICE_PLACEHOLDER (udf_registration)
 
 mysql_runtime_error::END_COMPONENT_PROVIDES ()
 
 mysql_runtime_error::REQUIRES_SERVICE (mysql_runtime_error)
 
 mysql_runtime_error::REQUIRES_SERVICE (udf_registration)
 
 mysql_runtime_error::END_COMPONENT_REQUIRES ()
 
static long long mysql_runtime_error::test_mysql_runtime_error_udf (UDF_INIT *, UDF_ARGS *args, unsigned char *, unsigned char *error)
 
static mysql_service_status_t mysql_runtime_error::init ()
 
static mysql_service_status_t mysql_runtime_error::deinit ()
 
 mysql_runtime_error::METADATA ("mysql.author", "Oracle Corporation")
 
 mysql_runtime_error::METADATA ("mysql.license", "GPL")
 
 mysql_runtime_error::METADATA ("test_property", "1")
 
 mysql_runtime_error::END_COMPONENT_METADATA ()
 

Variables

mysql_component_t mysql_runtime_error::mysql_component_test_mysql_runtime_error