~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/double.cc

  • Committer: Brian Aker
  • Date: 2008-07-28 00:57:12 UTC
  • Revision ID: brian@tangent.org-20080728005712-mkndotf2cvcbp0at
Remove completely ZEROFILL

Show diffs side-by-side

added added

removed removed

Lines of Context:
219
219
    len= my_fcvt(nr, dec, to, NULL);
220
220
 
221
221
  val_buffer->length((uint) len);
222
 
  if (zerofill)
223
 
    prepend_zeros(val_buffer);
 
222
 
224
223
  return val_buffer;
225
224
}
226
225
 
297
296
    res.length(cs->cset->snprintf(cs,(char*) res.ptr(),res.alloced_length(),
298
297
                            "double(%d,%d)",(int) field_length,dec));
299
298
  }
300
 
  add_zerofill_and_unsigned(res);
 
299
  add_unsigned(res);
301
300
}
302
301