24#ifndef MYSQL_RUNTIME_ERROR_SERVICE_H
25#define MYSQL_RUNTIME_ERROR_SERVICE_H
46 int error_id,
int flags, ...) {
48 va_start(args,
flags);
49 error_svc_handle->emit(error_id,
flags, args);
62 va_start(args,
flags);
63 mysql_service_mysql_runtime_error->emit(error_id,
flags, args);
70#define MYF(v) (myf)(v)
73#define my_error mysql_error_service_printf
Specifies macros to define Components.
static int flags[50]
Definition: hp_test1.cc:40
REQUIRES_SERVICE_PLACEHOLDER(mysql_runtime_error)
int myf
Definition: mysql_runtime_error_service.h:67
void 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.
Definition: mysql_runtime_error_service.h:44
void 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.
Definition: mysql_runtime_error_service.h:60
#define SERVICE_TYPE(name)
Generates the standard Service type name.
Definition: service.h:76