~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/md5/md5udf.cc

  • Committer: Brian Aker
  • Date: 2009-04-07 20:09:30 UTC
  • mfrom: (971.1.17 mordred)
  • Revision ID: brian@gaz-20090407200930-27jkul7lkwkjs2to
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
 
78
78
static int md5udf_plugin_init(void *p)
79
79
{
80
 
  Function_builder **f = (Function_builder**) p;
 
80
  Function_builder **f = static_cast<Function_builder**>(p);
81
81
 
82
82
  *f= &md5udf;
83
83
 
84
84
  return 0;
85
85
}
86
86
 
87
 
static int md5udf_plugin_deinit(void *p)
88
 
{
89
 
  Function_builder *udff = (Function_builder *) p;
90
 
  (void)udff;
91
 
  return 0;
92
 
}
93
 
 
94
87
drizzle_declare_plugin(md5)
95
88
{
96
89
  DRIZZLE_UDF_PLUGIN,
100
93
  "UDF for computing md5sum",
101
94
  PLUGIN_LICENSE_GPL,
102
95
  md5udf_plugin_init, /* Plugin Init */
103
 
  md5udf_plugin_deinit, /* Plugin Deinit */
 
96
  NULL,   /* Plugin Deinit */
104
97
  NULL,   /* status variables */
105
98
  NULL,   /* system variables */
106
99
  NULL    /* config options */