~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/compression/compressionudf.cc

  • Committer: Brian Aker
  • Date: 2009-10-02 19:38:12 UTC
  • mfrom: (1152.1.7 merge)
  • Revision ID: brian@gaz-20091002193812-mpd61oecep74t6gd
Merge Monty + Brian for plugins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    new plugin::Create_function<Item_func_uncompress>("uncompress");
36
36
  uncompressed_lengthudf=
37
37
    new plugin::Create_function<Item_func_uncompressed_length>("uncompressed_length");
38
 
  registry.function.add(compressudf);
39
 
  registry.function.add(uncompressudf);
40
 
  registry.function.add(uncompressed_lengthudf);
 
38
  registry.add(compressudf);
 
39
  registry.add(uncompressudf);
 
40
  registry.add(uncompressed_lengthudf);
41
41
  return 0;
42
42
}
43
43
 
44
44
static int compressionudf_plugin_deinit(plugin::Registry &registry)
45
45
{
46
 
  registry.function.remove(compressudf);
47
 
  registry.function.remove(uncompressudf);
48
 
  registry.function.remove(uncompressed_lengthudf);
 
46
  registry.remove(compressudf);
 
47
  registry.remove(uncompressudf);
 
48
  registry.remove(uncompressed_lengthudf);
49
49
  delete compressudf;
50
50
  delete uncompressudf;
51
51
  delete uncompressed_lengthudf;