~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/math/divide.h

  • Committer: Brian Aker
  • Date: 2009-05-21 19:15:01 UTC
  • mfrom: (991.1.12 for-brian)
  • Revision ID: brian@gaz-20090521191501-u5qe56byfubioj1r
Merge Stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <drizzled/function/func.h>
24
24
#include <drizzled/function/num_op.h>
25
25
 
26
 
namespace drizzled
27
 
{
28
 
 
29
26
class Item_func_div :public Item_num_op
30
27
{
31
 
  Session *session;
32
28
public:
33
29
  uint32_t prec_increment;
34
 
  Item_func_div(Session *arg, Item *a,Item *b) :Item_num_op(a,b), session(arg) {}
 
30
  Item_func_div(Item *a,Item *b) :Item_num_op(a,b) {}
35
31
  int64_t int_op() { assert(0); return 0; }
36
32
  double real_op();
37
33
  my_decimal *decimal_op(my_decimal *);
40
36
  void result_precision();
41
37
};
42
38
 
43
 
} /* namespace drizzled */
44
39
 
45
40
#endif /* DRIZZLED_FUNCTION_MATH_DIVIDE_H */