~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/additive_op.cc

  • Committer: Muhammad Umair
  • Date: 2011-08-16 11:47:29 UTC
  • mto: This revision was merged to the branch mainline in revision 2402.
  • Revision ID: umair@remotedesk-20110816114729-w6x88fj0sow4g3z9
mergeĀ lp:~mumair/drizzle/drizzle-IPv6Address

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include "config.h"
 
20
#include <config.h>
21
21
 
22
22
#include <drizzled/function/additive_op.h>
 
23
#include <drizzled/type/decimal.h>
23
24
 
24
25
#include <algorithm>
25
26
 
44
45
  else
45
46
    unsigned_flag= args[0]->unsigned_flag & args[1]->unsigned_flag;
46
47
 
47
 
  max_length= my_decimal_precision_to_length(precision, decimals,
 
48
  max_length= class_decimal_precision_to_length(precision, decimals,
48
49
                                             unsigned_flag);
49
50
}
50
51