28
27
#include <drizzled/errmsg_print.h>
37
35
void sql_perror(const char *message)
41
errmsg_printf(ERRMSG_LVL_ERROR, "%s: %s\n", message, errmsg);
38
errmsg_printf(ERRMSG_LVL_ERROR, "%s: %s", message, strerror(errno));
44
41
bool errmsg_printf (int priority, char const *format, ...)
49
rv= plugin::ErrorMessage::vprintf(NULL, priority, format, args);
47
rv= plugins.error_message.vprintf(current_session, priority, format, args);