~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/str/strfunc.h

  • Committer: Jay Pipes
  • Date: 2009-02-21 16:00:06 UTC
  • mto: (907.1.1 trunk-with-temporal)
  • mto: This revision was merged to the branch mainline in revision 908.
  • Revision ID: jpipes@serialcoder-20090221160006-vnk3wt4qbcz62eru
Removes the TIME column type and related time functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_FUNCTION_STR_STRFUNC_H
21
 
#define DRIZZLED_FUNCTION_STR_STRFUNC_H
 
20
#ifndef DRIZZLED_FUNCTION_STR_H
 
21
#define DRIZZLED_FUNCTION_STR_H
 
22
 
22
23
 
23
24
#include <drizzled/function/func.h>
24
25
 
25
 
namespace drizzled
26
 
{
27
 
 
28
26
/* This file defines all string functions */
29
27
 
30
28
class Item_str_func :public Item_func
37
35
  Item_str_func(Item *a,Item *b,Item *c,Item *d) :Item_func(a,b,c,d) {decimals=NOT_FIXED_DEC; }
38
36
  Item_str_func(Item *a,Item *b,Item *c,Item *d, Item* e) :Item_func(a,b,c,d,e) {decimals=NOT_FIXED_DEC; }
39
37
  Item_str_func(List<Item> &list) :Item_func(list) {decimals=NOT_FIXED_DEC; }
40
 
  virtual ~Item_str_func();
41
38
  int64_t val_int();
42
39
  double val_real();
43
40
  my_decimal *val_decimal(my_decimal *);
46
43
  bool fix_fields(Session *session, Item **ref);
47
44
};
48
45
 
49
 
} /* namespace drizzled */
50
 
 
51
 
#endif /* DRIZZLED_FUNCTION_STR_STRFUNC_H */
 
46
#endif /* DRIZZLED_FUNCTION_STR_H */