~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 00:53:06 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-20100917005306-o4p4hhwa0bggvyfa
move LN() function into math_functions plugin

Show diffs side-by-side

added added

removed removed

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