~drizzle-developers/ubuntu/natty/drizzle/natty

« back to all changes in this revision

Viewing changes to plugin/md5/md5udf.cc

  • Committer: Brian Aker
  • Date: 2009-04-13 16:22:40 UTC
  • mfrom: (971.1.78 mordred)
  • Revision ID: brian@gaz-20090413162240-ugi3gvhofmcuglzl
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
 
76
76
Create_function<Item_func_md5> md5udf(string("md5"));
77
77
 
78
 
static int md5udf_plugin_init(void *p)
 
78
static int md5udf_plugin_init(PluginRegistry &registry)
79
79
{
80
 
  Function_builder **f = static_cast<Function_builder**>(p);
81
 
 
82
 
  *f= &md5udf;
83
 
 
 
80
  registry.add(&md5udf);
84
81
  return 0;
85
82
}
86
83
 
87
84
drizzle_declare_plugin(md5)
88
85
{
89
 
  DRIZZLE_UDF_PLUGIN,
90
86
  "md5",
91
87
  "1.0",
92
88
  "Stewart Smith",