~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/loader.cc

  • Committer: Brian Aker
  • Date: 2010-01-18 19:39:12 UTC
  • mfrom: (1251.2.9 working)
  • Revision ID: brian@gaz-20100118193912-rf7ncdnrhvowyfo6
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "drizzled/my_hash.h"
27
27
#include "drizzled/internal/m_string.h"
28
28
 
 
29
#include "drizzled/plugin.h"
29
30
#include "drizzled/plugin/load_list.h"
30
31
#include "drizzled/sql_parse.h"
31
32
#include "drizzled/show.h"
114
115
 
115
116
 
116
117
/*
117
 
  skeleton of a plugin variable - portion of structure common to all.
118
 
*/
119
 
struct drizzle_sys_var
120
 
{
121
 
  DRIZZLE_PLUGIN_VAR_HEADER;
122
 
};
123
 
 
124
 
 
125
 
/*
126
118
  sys_var class for access to all plugin variables visible to the user
127
119
*/
128
120
class sys_var_pluginvar: public sys_var
161
153
static void unlock_variables(Session *session, struct system_variables *vars);
162
154
static void cleanup_variables(Session *session, struct system_variables *vars);
163
155
static void plugin_vars_free_values(sys_var *vars);
164
 
static void plugin_opt_set_limits(struct my_option *options,
165
 
                                  const drizzle_sys_var *opt);
166
 
 
167
156
 
168
157
/* declared in set_var.cc */
169
158
extern sys_var *intern_find_sys_var(const char *str, uint32_t length, bool no_error);
1508
1497
  options->block_size= (long) (opt)->blk_sz
1509
1498
 
1510
1499
 
1511
 
static void plugin_opt_set_limits(struct my_option *options,
1512
 
                                  const drizzle_sys_var *opt)
 
1500
void plugin_opt_set_limits(struct my_option *options,
 
1501
                                                                                                         const drizzle_sys_var *opt)
1513
1502
{
1514
1503
  options->sub_size= 0;
1515
1504