~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/int64_t.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:
191
191
  length=(uint) (cs->cset->int64_t10_to_str)(cs,to,mlength,
192
192
                                        unsigned_flag ? 10 : -10, j);
193
193
  val_buffer->length(length);
194
 
  if (zerofill)
195
 
    prepend_zeros(val_buffer);
 
194
 
196
195
  return val_buffer;
197
196
}
198
197
 
264
263
  CHARSET_INFO *cs=res.charset();
265
264
  res.length(cs->cset->snprintf(cs,(char*) res.ptr(),res.alloced_length(),
266
265
                          "bigint(%d)",(int) field_length));
267
 
  add_zerofill_and_unsigned(res);
 
266
  add_unsigned(res);
268
267
}
269
268
 
270
269