39
39
using namespace std;
40
40
using namespace drizzled;
42
static PluginRegistry the_registry;
44
PluginRegistry& PluginRegistry::getPluginRegistry()
49
plugin::Handle *PluginRegistry::find(const LEX_STRING *name)
43
plugin::Handle *plugin::Registry::find(const LEX_STRING *name)
51
45
string find_str(name->str,name->length);
52
46
transform(find_str.begin(), find_str.end(), find_str.begin(), ::tolower);
93
void PluginRegistry::add(StorageEngine *engine)
87
void plugin::Registry::add(StorageEngine *engine)
95
89
add_storage_engine(engine);
98
void PluginRegistry::add(InfoSchemaTable *schema_table)
92
void plugin::Registry::add(InfoSchemaTable *schema_table)
100
94
add_infoschema_table(schema_table);
103
void PluginRegistry::add(Function_builder *udf)
97
void plugin::Registry::add(Function_builder *udf)
108
void PluginRegistry::add(Logging_handler *handler)
102
void plugin::Registry::add(Logging_handler *handler)
110
104
add_logger(handler);
113
void PluginRegistry::add(Error_message_handler *handler)
107
void plugin::Registry::add(Error_message_handler *handler)
115
109
add_errmsg_handler(handler);
118
void PluginRegistry::add(Authentication *auth)
112
void plugin::Registry::add(Authentication *auth)
120
114
add_authentication(auth);
123
void PluginRegistry::add(QueryCache *qcache)
117
void plugin::Registry::add(QueryCache *qcache)
125
119
add_query_cache(qcache);
128
void PluginRegistry::add(plugin::SchedulerFactory *factory)
122
void plugin::Registry::add(plugin::SchedulerFactory *factory)
130
124
add_scheduler_factory(factory);
134
void PluginRegistry::add(plugin::Replicator *replicator)
128
void plugin::Registry::add(plugin::Replicator *replicator)
136
130
add_replicator(replicator);
139
void PluginRegistry::add(plugin::Applier *applier)
133
void plugin::Registry::add(plugin::Applier *applier)
141
135
add_applier(applier);
144
void PluginRegistry::remove(StorageEngine *engine)
138
void plugin::Registry::remove(StorageEngine *engine)
146
140
remove_storage_engine(engine);
149
void PluginRegistry::remove(InfoSchemaTable *schema_table)
143
void plugin::Registry::remove(InfoSchemaTable *schema_table)
151
145
remove_infoschema_table(schema_table);
154
void PluginRegistry::remove(Function_builder *udf)
148
void plugin::Registry::remove(Function_builder *udf)
159
void PluginRegistry::remove(Logging_handler *handler)
153
void plugin::Registry::remove(Logging_handler *handler)
161
155
remove_logger(handler);
164
void PluginRegistry::remove(Error_message_handler *handler)
158
void plugin::Registry::remove(Error_message_handler *handler)
166
160
remove_errmsg_handler(handler);
169
void PluginRegistry::remove(Authentication *auth)
163
void plugin::Registry::remove(Authentication *auth)
171
165
remove_authentication(auth);
174
void PluginRegistry::remove(QueryCache *qcache)
168
void plugin::Registry::remove(QueryCache *qcache)
176
170
remove_query_cache(qcache);
179
void PluginRegistry::remove(plugin::SchedulerFactory *factory)
173
void plugin::Registry::remove(plugin::SchedulerFactory *factory)
181
175
remove_scheduler_factory(factory);
185
void PluginRegistry::remove(plugin::Replicator *replicator)
179
void plugin::Registry::remove(plugin::Replicator *replicator)
187
181
remove_replicator(replicator);
190
void PluginRegistry::remove(plugin::Applier *applier)
184
void plugin::Registry::remove(plugin::Applier *applier)
192
186
remove_applier(applier);