~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2009-02-21 00:18:15 UTC
  • Revision ID: brian@tangent.org-20090221001815-x20e8h71e984lvs1
Completion (?) of uint conversion.

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=MAX_DATE_WIDTH*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 */