~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-21 01:02:23 UTC
  • mto: (960.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 961.
  • Revision ID: osullivan.padraig@gmail.com-20090321010223-j8cph7eeyt1u3xol
Fixed function object to ensure it correctly returns a boolean type since
memcmp returns an integer. Added some more comments.

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_hour :public Item_int_func
29
26
{
30
27
public:
39
36
  }
40
37
};
41
38
 
42
 
} /* namespace drizzled */
43
 
 
44
39
#endif /* DRIZZLED_FUNCTION_TIME_HOUR_H */