~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to include/decimal.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
  decimal_round_mode;
22
22
typedef int32 decimal_digit_t;
23
23
 
 
24
/**
 
25
    intg is the number of *decimal* digits (NOT number of decimal_digit_t's !)
 
26
         before the point
 
27
    frac is the number of decimal digits after the point
 
28
    len  is the length of buf (length of allocated space) in decimal_digit_t's,
 
29
         not in bytes
 
30
    sign false means positive, true means negative
 
31
    buf  is an array of decimal_digit_t's
 
32
 */
24
33
typedef struct st_decimal_t {
25
34
  int    intg, frac, len;
26
35
  my_bool sign;