~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 16:10:34 UTC
  • Revision ID: brian@tangent.org-20080728161034-uikvlvhhartqc2ht
First pass of removing length types for ints.

Show diffs side-by-side

added added

removed removed

Lines of Context:
261
261
void Field_int64_t::sql_type(String &res) const
262
262
{
263
263
  CHARSET_INFO *cs=res.charset();
264
 
  res.length(cs->cset->snprintf(cs,(char*) res.ptr(),res.alloced_length(),
265
 
                          "bigint(%d)",(int) field_length));
 
264
  res.length(cs->cset->snprintf(cs,(char*) res.ptr(),res.alloced_length(), "bigint"));
266
265
  add_unsigned(res);
267
266
}
268
267