~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/module.h

  • Committer: Monty Taylor
  • Date: 2010-10-15 20:18:02 UTC
  • mto: (1859.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1860.
  • Revision ID: mordred@inaugust.com-20101015201802-ei0f9g720hfk9z8j
Track lifecycle of sys_var different form plugin_sysvar

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
  Library *plugin_dl;
59
59
  bool isInited;
60
60
  Variables system_vars;         /* server variables for this plugin */
61
 
  Variables sys_vars; /* vars registered through a context - need to free */
 
61
  Variables sys_vars;
62
62
  Module(const Manifest *manifest_arg,
63
63
         Library *library_arg) :
64
64
    name(manifest_arg->name),
83
83
    return *manifest;
84
84
  }
85
85
 
 
86
  void addMySysVar(sys_var *var)
 
87
  {
 
88
    sys_vars.push_back(var);
 
89
    addSysVar(var);
 
90
  }
 
91
 
86
92
  void addSysVar(sys_var *var)
87
93
  {
88
94
    system_vars.push_back(var);