~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/create.cc

converted function/char_length to plugin/charlength

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
#include <drizzled/function/math/atan.h>
72
72
#include <drizzled/function/benchmark.h>
73
73
#include <drizzled/function/math/ceiling.h>
74
 
#include <drizzled/function/char_length.h>
75
74
#include <drizzled/function/coercibility.h>
76
75
#include <drizzled/function/connection_id.h>
77
76
#include <drizzled/function/math/cos.h>
368
367
};
369
368
 
370
369
 
371
 
class Create_func_char_length : public Create_func_arg1
372
 
{
373
 
public:
374
 
  using Create_func_arg1::create;
375
 
 
376
 
  virtual Item *create(Session *session, Item *arg1);
377
 
 
378
 
  static Create_func_char_length s_singleton;
379
 
 
380
 
protected:
381
 
  Create_func_char_length() {}
382
 
  virtual ~Create_func_char_length() {}
383
 
};
384
 
 
385
 
 
386
370
class Create_func_coercibility : public Create_func_arg1
387
371
{
388
372
public:
1777
1761
}
1778
1762
 
1779
1763
 
1780
 
Create_func_char_length Create_func_char_length::s_singleton;
1781
 
 
1782
 
Item*
1783
 
Create_func_char_length::create(Session *session, Item *arg1)
1784
 
{
1785
 
  return new (session->mem_root) Item_func_char_length(arg1);
1786
 
}
1787
 
 
1788
 
 
1789
1764
Create_func_coercibility Create_func_coercibility::s_singleton;
1790
1765
 
1791
1766
Item*
2832
2807
  { { C_STRING_WITH_LEN("BIN") }, BUILDER(Create_func_bin)},
2833
2808
  { { C_STRING_WITH_LEN("CEIL") }, BUILDER(Create_func_ceiling)},
2834
2809
  { { C_STRING_WITH_LEN("CEILING") }, BUILDER(Create_func_ceiling)},
2835
 
  { { C_STRING_WITH_LEN("CHARACTER_LENGTH") }, BUILDER(Create_func_char_length)},
2836
 
  { { C_STRING_WITH_LEN("CHAR_LENGTH") }, BUILDER(Create_func_char_length)},
2837
2810
  { { C_STRING_WITH_LEN("COERCIBILITY") }, BUILDER(Create_func_coercibility)},
2838
2811
  { { C_STRING_WITH_LEN("CONCAT") }, BUILDER(Create_func_concat)},
2839
2812
  { { C_STRING_WITH_LEN("CONCAT_WS") }, BUILDER(Create_func_concat_ws)},