~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/numhybrid.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/func.h>
24
24
 
25
 
namespace drizzled
26
 
{
27
 
 
28
25
class Item_func_numhybrid: public Item_func
29
26
{
30
27
protected:
31
28
  Item_result hybrid_type;
32
29
public:
33
 
  Item_func_numhybrid(): Item_func(), hybrid_type(REAL_RESULT)
34
 
  {}
35
30
  Item_func_numhybrid(Item *a) :Item_func(a), hybrid_type(REAL_RESULT)
36
31
  {}
37
32
  Item_func_numhybrid(Item *a,Item *b)
89
84
  bool is_null() { update_null_value(); return null_value; }
90
85
};
91
86
 
92
 
} /* namespace drizzled */
93
 
 
94
87
#endif /* DRIZZLED_FUNCTION_NUMHYBRID_H */