~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/utility_functions/functions.cc

  • Committer: Brian Aker
  • Date: 2011-01-22 07:05:32 UTC
  • mto: This revision was merged to the branch mainline in revision 2104.
  • Revision ID: brian@tangent.org-20110122070532-r9vtkolkl7e522tm
Make session encapsulated.

Show diffs side-by-side

added added

removed removed

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