~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/hello_events/hello_events.cc

  • Committer: Monty Taylor
  • Date: 2010-08-12 06:10:25 UTC
  • mto: (1711.1.1 innodb-plugin-merge)
  • mto: This revision was merged to the branch mainline in revision 1712.
  • Revision ID: mordred@inaugust.com-20100812061025-cme620sdil8aov41
Free strdup'd option strings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
  fprintf(stderr, PLUGIN_NAME" EVENT observeAfterDropDatabase(%s) err = %d\n", data.db.c_str(), data.err);
136
136
}
137
137
 
 
138
HelloEvents::~HelloEvents()
 
139
{
 
140
  /* These are strdup'd in option processing */
 
141
  free(sysvar_table_list);
 
142
  free(sysvar_db_list);
 
143
}
 
144
 
138
145
//==================================
139
146
/* This is where I register which table events my pluggin is interested in.*/
140
147
void HelloEvents::registerTableEventsDo(TableShare &table_share, EventObserverList &observers)