~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/math_functions/functions.cc

  • Committer: Stewart Smith
  • Date: 2010-09-17 01:56:05 UTC
  • mto: (1773.1.1 stewart) (1786.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1774.
  • Revision ID: stewart@flamingspork.com-20100917015605-c357ohk2r9n5lii9
move SQRT() function into math_functions plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include "plugin/math_functions/sin.h"
31
31
#include "plugin/math_functions/pow.h"
32
32
#include "plugin/math_functions/ln.h"
 
33
#include "plugin/math_functions/sqrt.h"
33
34
 
34
35
using namespace drizzled;
35
36
 
48
49
  context.add(new plugin::Create_function<Item_func_pow>("pow"));
49
50
  context.add(new plugin::Create_function<Item_func_pow>("power"));
50
51
  context.add(new plugin::Create_function<Item_func_ln>("ln"));
 
52
  context.add(new plugin::Create_function<Item_func_sqrt>("sqrt"));
51
53
 
52
54
  return 0;
53
55
}