~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/time/makedate.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:
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 */