~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/num_op.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/numhybrid.h>
24
24
 
25
 
namespace drizzled
26
 
{
27
 
 
28
25
/* Base class for operations like '+', '-', '*' */
29
26
 
30
27
class Item_num_op :public Item_func_numhybrid
43
40
  { assert(0); return 0; }
44
41
};
45
42
 
46
 
} /* namespace drizzled */
47
43
 
48
44
#endif /* DRIZZLED_FUNCTION_NUM_OP_H */