~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/double.cc

  • Committer: Monty Taylor
  • Date: 2010-02-05 08:11:15 UTC
  • mfrom: (1283 build)
  • mto: (1273.13.43 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: mordred@inaugust.com-20100205081115-dr82nvrwv4lvw7sd
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
using namespace std;
36
36
 
 
37
namespace drizzled
 
38
{
37
39
 
38
40
/****************************************************************************
39
41
  double precision floating point numbers
162
164
  size_t len;
163
165
 
164
166
  if (dec >= NOT_FIXED_DEC)
165
 
    len= my_gcvt(nr, MY_GCVT_ARG_DOUBLE, to_length - 1, to, NULL);
 
167
    len= internal::my_gcvt(nr, internal::MY_GCVT_ARG_DOUBLE, to_length - 1, to, NULL);
166
168
  else
167
 
    len= my_fcvt(nr, dec, to, NULL);
 
169
    len= internal::my_fcvt(nr, dec, to, NULL);
168
170
 
169
171
  val_buffer->length((uint32_t) len);
170
172
 
221
223
  }
222
224
}
223
225
 
 
226
} /* namespace drizzled */