~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2009-03-04 02:48:12 UTC
  • mto: (917.1.2 mordred)
  • mto: This revision was merged to the branch mainline in revision 918.
  • Revision ID: mordred@inaugust.com-20090304024812-5wb6wpye5c1iitbq
Applied atomic patch to current tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <drizzled/function/math/int.h>
24
24
 
25
 
namespace drizzled
26
 
{
27
 
 
28
25
class Item_func_year :public Item_int_func
29
26
{
30
27
public:
31
28
  Item_func_year(Item *a) :Item_int_func(a) {}
32
29
  int64_t val_int();
33
30
  const char *func_name() const { return "year"; }
 
31
  enum_monotonicity_info get_monotonicity_info() const;
34
32
  int64_t val_int_endpoint(bool left_endp, bool *incl_endp);
35
33
  void fix_length_and_dec()
36
34
  {
40
38
  }
41
39
};
42
40
 
43
 
} /* namespace drizzled */
44
 
 
45
41
#endif /* DRIZZLED_FUNCTION_TIME_YEAR_H */