~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/time/extract.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_extract :public Item_int_func
29
26
{
30
27
  String value;
41
38
  virtual void print(String *str, enum_query_type query_type);
42
39
};
43
40
 
44
 
} /* namespace drizzled */
45
 
 
46
41
#endif /* DRIZZLED_FUNCTION_TIME_EXTRACT_H */