23#ifndef MYSQL_RUNTIME_ERROR_SERVICE_H
24#define MYSQL_RUNTIME_ERROR_SERVICE_H
45 int error_id,
int flags, ...) {
47 va_start(args,
flags);
48 error_svc_handle->emit(error_id,
flags, args);
61 va_start(args,
flags);
62 mysql_service_mysql_runtime_error->emit(error_id,
flags, args);
69#define MYF(v) (myf)(v)
72#define my_error mysql_error_service_printf
Specifies macros to define Components.
static int flags[50]
Definition: hp_test1.cc:39
REQUIRES_SERVICE_PLACEHOLDER(mysql_runtime_error)
int myf
Definition: mysql_runtime_error_service.h:66
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:43
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:59
#define SERVICE_TYPE(name)
Generates the standard Service type name.
Definition: service.h:75