~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_plugin.cc

  • Committer: Brian Aker
  • Date: 2009-01-24 16:48:34 UTC
  • Revision ID: brian@gir-3.local-20090124164834-vcctf70tytgk0e4y
Fix for making sure I_S has good information about which plugins are
actually active.

Show diffs side-by-side

added added

removed removed

Lines of Context:
779
779
 
780
780
static int plugin_initialize(struct st_plugin_int *plugin)
781
781
{
 
782
  plugin->state= PLUGIN_IS_UNINITIALIZED;
782
783
 
783
784
  if (plugin_type_initialize[plugin->plugin->type])
784
785
  {
797
798
                      plugin->name.str);
798
799
      goto err;
799
800
    }
 
801
    plugin->state= PLUGIN_IS_READY;
800
802
  }
801
803
 
802
 
  plugin->state= PLUGIN_IS_READY;
803
 
 
804
804
  if (plugin->plugin->status_vars)
805
805
  {
806
806
#ifdef FIX_LATER