~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/time/makedate.h

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 01:03:01 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913010301-tcvvezipx1124acy
Added calls to the dtrace delete begin/end probes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <drizzled/function/time/date.h>
24
24
 
25
 
namespace drizzled
26
 
{
27
 
 
28
25
class Item_func_makedate :public Item_date_func
29
26
{
30
27
public:
35
32
  void fix_length_and_dec()
36
33
  {
37
34
    decimals=0;
38
 
    max_length=Date::MAX_STRING_LENGTH*MY_CHARSET_BIN_MB_MAXLEN;
 
35
    max_length=drizzled::Date::MAX_STRING_LENGTH*MY_CHARSET_BIN_MB_MAXLEN;
39
36
  }
40
37
  int64_t val_int();
41
38
};
42
39
 
43
 
} /* namespace drizzled */
44
 
 
45
40
#endif /* DRIZZLED_FUNCTION_TIME_MAKEDATE_H */