~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/loader.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-21 16:06:22 UTC
  • mto: This revision was merged to the branch mainline in revision 2346.
  • Revision ID: olafvdspek@gmail.com-20110621160622-l43abmd5352iatin
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
  Item *item;
108
108
};
109
109
 
110
 
class Bookmark
111
 
{
112
 
public:
113
 
  Bookmark() :
114
 
    type_code(0),
115
 
    offset(0),
116
 
    version(0),
117
 
    key("")
118
 
  {}
119
 
  uint8_t type_code;
120
 
  int offset;
121
 
  uint32_t version;
122
 
  string key;
123
 
};
124
 
 
125
 
typedef boost::unordered_map<string, Bookmark> bookmark_unordered_map;
126
 
static bookmark_unordered_map bookmark_hash;
127
 
 
128
 
 
129
 
 
130
110
/* prototypes */
131
 
static void plugin_prune_list(vector<string> &plugin_list,
132
 
                              const vector<string> &plugins_to_remove);
 
111
static void plugin_prune_list(vector<string> &plugin_list, const vector<string> &plugins_to_remove);
133
112
static bool plugin_load_list(module::Registry &registry,
134
113
                             memory::Root *tmp_root,
135
114
                             const set<string> &plugin_list,
136
115
                             po::options_description &long_options,
137
116
                             bool builtin= false);
138
 
static int test_plugin_options(memory::Root *, module::Module *,
139
 
                               po::options_description &long_options);
 
117
static int test_plugin_options(memory::Root*, module::Module*, po::options_description&long_options);
140
118
static void unlock_variables(Session *session, drizzle_system_variables *vars);
141
119
static void cleanup_variables(drizzle_system_variables *vars);
142
120