~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

Merge of Joe's patch (and I updated the author file to include his name as
well).

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
class Item_func_div :public Item_num_op
30
30
{
31
 
  Session *session;
32
31
public:
33
32
  uint32_t prec_increment;
34
 
  Item_func_div(Session *arg, Item *a,Item *b) :Item_num_op(a,b), session(arg) {}
 
33
  Item_func_div(Item *a,Item *b) :Item_num_op(a,b) {}
35
34
  int64_t int_op() { assert(0); return 0; }
36
35
  double real_op();
37
36
  my_decimal *decimal_op(my_decimal *);