mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
rename {sys_vars,sql_plugin_services}.h -> *.ic
This commit is contained in:
@ -84,7 +84,7 @@ it should also declare all the accompanying data structures, as necessary
|
|||||||
7. add the new file to libservices/CMakeLists.txt (MYSQLSERVICES_SOURCES)
|
7. add the new file to libservices/CMakeLists.txt (MYSQLSERVICES_SOURCES)
|
||||||
8. Add all new files to repository (bzr add)
|
8. Add all new files to repository (bzr add)
|
||||||
9. and finally, register your service for dynamic linking in
|
9. and finally, register your service for dynamic linking in
|
||||||
sql/sql_plugin_services.h as follows:
|
sql/sql_plugin_services.ic as follows:
|
||||||
9.1 fill in the service structure:
|
9.1 fill in the service structure:
|
||||||
==================================================================
|
==================================================================
|
||||||
static struct foo_service_st foo_handler = {
|
static struct foo_service_st foo_handler = {
|
||||||
|
@ -82,7 +82,7 @@ SET (SQL_SOURCE
|
|||||||
filesort_utils.cc
|
filesort_utils.cc
|
||||||
filesort.cc gstream.cc sha2.cc
|
filesort.cc gstream.cc sha2.cc
|
||||||
signal_handler.cc
|
signal_handler.cc
|
||||||
handler.cc hash_filo.h sql_plugin_services.h
|
handler.cc hash_filo.h
|
||||||
hostname.cc init.cc item.cc item_buff.cc item_cmpfunc.cc
|
hostname.cc init.cc item.cc item_buff.cc item_cmpfunc.cc
|
||||||
item_create.cc item_func.cc item_geofunc.cc item_row.cc
|
item_create.cc item_func.cc item_geofunc.cc item_row.cc
|
||||||
item_strfunc.cc item_subselect.cc item_sum.cc item_timefunc.cc
|
item_strfunc.cc item_subselect.cc item_sum.cc item_timefunc.cc
|
||||||
|
@ -215,7 +215,7 @@ static struct
|
|||||||
|
|
||||||
/* support for Services */
|
/* support for Services */
|
||||||
|
|
||||||
#include "sql_plugin_services.h"
|
#include "sql_plugin_services.ic"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
A mutex LOCK_plugin must be acquired before accessing the
|
A mutex LOCK_plugin must be acquired before accessing the
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#include "sql_plugin.h" // Includes my_global.h
|
#include "sql_plugin.h" // Includes my_global.h
|
||||||
#include "sql_priv.h"
|
#include "sql_priv.h"
|
||||||
#include "sql_class.h" // set_var.h: THD
|
#include "sql_class.h" // set_var.h: THD
|
||||||
#include "sys_vars.h"
|
#include "sys_vars.ic"
|
||||||
|
|
||||||
#include "events.h"
|
#include "events.h"
|
||||||
#include <thr_alarm.h>
|
#include <thr_alarm.h>
|
||||||
|
Reference in New Issue
Block a user