diff options
Diffstat (limited to 'sql/sql_plugin_services.h')
| -rw-r--r-- | sql/sql_plugin_services.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/sql_plugin_services.h b/sql/sql_plugin_services.h index 362252eee8a..38b4c4074be 100644 --- a/sql/sql_plugin_services.h +++ b/sql/sql_plugin_services.h @@ -74,6 +74,18 @@ static struct logger_service_st logger_service_handler= { logger_rotate }; +static struct thd_autoinc_service_st thd_autoinc_handler= { + thd_get_autoinc +}; + +static struct thd_error_context_service_st thd_error_conext_handler= { + thd_get_error_message, + thd_get_error_number, + thd_get_error_row, + thd_inc_error_row, + thd_get_error_context_description +}; + static struct st_service_ref list_of_services[]= { { "my_snprintf_service", VERSION_my_snprintf, &my_snprintf_handler }, @@ -85,5 +97,7 @@ static struct st_service_ref list_of_services[]= { "thd_timezone_service", VERSION_thd_timezone, &thd_timezone_handler }, { "my_sha1_service", VERSION_my_sha1, &my_sha1_handler}, { "logger_service", VERSION_logger, &logger_service_handler }, + { "thd_autoinc_service", VERSION_thd_autoinc, &thd_autoinc_handler }, + { "thd_error_context_service", VERSION_thd_error_context, &thd_error_conext_handler }, }; |
