~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_plugin.cc

MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
747
747
  pi= plugin_ref_to_int(plugin);
748
748
 
749
749
  free((void *) plugin);
750
 
 
751
 
  assert(pi->ref_count);
752
 
  pi->ref_count--;
 
750
 
 
751
  //assert(pi->ref_count);
 
752
  if (pi->ref_count > 0)
 
753
    pi->ref_count--;
753
754
 
754
755
  if (pi->state == PLUGIN_IS_DELETED && !pi->ref_count)
755
756
    reap_needed= true;