~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/errmsg_notify/errmsg_notify.cc

  • Committer: Stewart Smith
  • Date: 2010-07-27 00:49:32 UTC
  • mto: (1720.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1721.
  • Revision ID: stewart@flamingspork.com-20100727004932-basq3vx9szmmbswm
fix storing and manipulating foreign keys in the proto around ALTER TABLE, CREATE TABLE and ALTER TABLE ADD/DROP FOREIGN KEY. We also (mostly) emulate the naming of innodb foreign keys in the upper layer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
};
95
95
 
96
96
static Error_message_notify *handler= NULL;
97
 
static int plugin_init(plugin::Context &context)
 
97
static int plugin_init(module::Context &context)
98
98
{
99
99
  Notify::init("Drizzled");
100
100
  handler= new Error_message_notify();
103
103
  return 0;
104
104
}
105
105
 
106
 
DRIZZLE_PLUGIN(plugin_init, NULL);
 
106
DRIZZLE_PLUGIN(plugin_init, NULL, NULL);