~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-10-20 20:26:18 UTC
  • mfrom: (1859.2.13 refactor)
  • Revision ID: brian@tangent.org-20101020202618-9222n39lm329urv5
Merge for Brian 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
34
34
  Item_func_div(Session *arg, Item *a,Item *b) :Item_num_op(a,b), session(arg) {}
35
35
  int64_t int_op() { assert(0); return 0; }
36
36
  double real_op();
37
 
  type::Decimal *decimal_op(type::Decimal *);
 
37
  my_decimal *decimal_op(my_decimal *);
38
38
  const char *func_name() const { return "/"; }
39
39
  void fix_length_and_dec();
40
40
  void result_precision();