~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/loader.cc

  • Committer: Brian Aker
  • Date: 2009-10-12 22:46:41 UTC
  • mfrom: (1130.2.27 plugin-base-class)
  • Revision ID: brian@gaz-20091012224641-gjo56i190y8c98xg
Merge Monty, default class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
540
540
{
541
541
  assert(plugin->isInited == false);
542
542
 
 
543
  registry.setCurrentHandle(plugin);
543
544
  if (plugin->getManifest().init)
544
545
  {
545
546
    if (plugin->getManifest().init(registry))
550
551
      return true;
551
552
    }
552
553
  }
 
554
  registry.clearCurrentHandle();
553
555
  plugin->isInited= true;
554
556
 
555
557