~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/string_functions/functions.cc

  • Committer: lbieber
  • Date: 2010-10-06 16:34:16 UTC
  • mfrom: (1816.1.3 build)
  • Revision ID: lbieber@orisndriz08-20101006163416-ea0sl59qgpglk21y
Merge Monty - Change the requirement from either libinnodb to libhaildb. Also, tied it to version 2.2
Merge Andrew - fix bug 650935: remove --compress from all clients
Merge Andrew - fix bug 653471: Add -A to drizzle client
Merge Travis - 621861 = To change C structs to C++ classes in Drizzle

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/string_functions/functions.h"
26
24
 
 
25
#include "elt.h"
 
26
#include "format.h"
 
27
#include "quote.h"
 
28
 
27
29
using namespace drizzled;
28
30
 
29
31
static int init(drizzled::module::Context &context)
31
33
  context.add(new plugin::Create_function<Item_func_elt>("elt"));
32
34
  context.add(new plugin::Create_function<Item_func_format>("format"));
33
35
  context.add(new plugin::Create_function<Item_func_quote>("quote"));
34
 
  context.add(new plugin::Create_function<drizzled::string_functions::Regex>("regex"));
35
36
 
36
37
  return 0;
37
38
}