THD Error Context Service
Plugin API reference: THD Error Context Service. Generated from the MariaDB server headers by doxygen and moxygen.
Error context service to access the statement diagnostics area.
This service provides access to the statement diagnostics area:
error message
error number
row for warning (e.g. for multi-row INSERT statements)
Classes
Macros
Return error message
Return error number
Return the current row number (i.e. in a multiple INSERT statement)
Increment the current row number
Return a text description of a thread, its security context (user,host) and the current query.
thd_get_error_message
Defined in service_thd_error_context.h:59
Return error message
Returns
error text
Parameters
thd
user thread connection handle
thd
user thread connection handle
thd_get_error_number
Defined in service_thd_error_context.h:66
Return error number
Returns
error number
Parameters
thd
user thread connection handle
thd
user thread connection handle
thd_get_error_row
Defined in service_thd_error_context.h:73
Return the current row number (i.e. in a multiple INSERT statement)
Returns
row number
Parameters
thd
user thread connection handle
thd
user thread connection handle
thd_inc_error_row
Defined in service_thd_error_context.h:79
Increment the current row number
Parameters
thd
user thread connection handle
thd
user thread connection handle
thd_get_error_context_description
Defined in service_thd_error_context.h:85
Return a text description of a thread, its security context (user,host) and the current query.
Variables
thd_error_context_service
Type: struct thd_error_context_service_st *
Defined in service_thd_error_context.h:51
Class Definitions
thd_error_context_service_st
Defined in service_thd_error_context.h:42
Public Attributes
thd_get_error_message_func
Defined in service_thd_error_context.h:43
thd_get_error_number_func
Defined in service_thd_error_context.h:44
thd_get_error_row_func
Defined in service_thd_error_context.h:45
thd_inc_error_row_func
Defined in service_thd_error_context.h:46
thd_get_error_context_description_func
Defined in service_thd_error_context.h:47
This page is licensed: GPLv2
Last updated
Was this helpful?

