~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/utility_functions/functions.cc

  • Committer: Monty Taylor
  • Date: 2010-12-26 03:15:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101226031544-1cf3raipu53fnmyj
Through page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 */
21
21
 
22
22
#include "config.h"
23
 
 
24
 
#include <drizzled/plugin.h>
25
23
#include "plugin/utility_functions/functions.h"
26
24
 
27
25
using namespace drizzled;
28
26
 
29
27
static int init(drizzled::module::Context &context)
30
28
{
31
 
  context.add(new plugin::Create_function<utility_functions::Assert>("assert"));
32
29
  context.add(new plugin::Create_function<utility_functions::Catalog>("catalog"));
33
30
  context.add(new plugin::Create_function<utility_functions::Execute>("execute"));
34
31
  context.add(new plugin::Create_function<utility_functions::GlobalReadLock>("global_read_lock"));
35
 
  context.add(new plugin::Create_function<utility_functions::ResultType>("result_type"));
36
32
  context.add(new plugin::Create_function<utility_functions::Kill>("kill"));
37
33
  context.add(new plugin::Create_function<utility_functions::Schema>("database"));
38
 
  context.add(new plugin::Create_function<utility_functions::Typeof>("typeof"));
39
34
  context.add(new plugin::Create_function<utility_functions::User>("user"));
40
35
 
41
36
  return 0;
45
40
{
46
41
  DRIZZLE_VERSION_ID,
47
42
  "Utility Functions",
48
 
  "1.4",
 
43
  "1.3",
49
44
  "Brian Aker, Stewart Smith",
50
45
  "Utility Functions.",
51
46
  PLUGIN_LICENSE_GPL,