~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/size.cc

  • Committer: Mark Atwood
  • Date: 2011-06-22 05:48:25 UTC
  • mfrom: (2318.6.17 refactor12)
  • Revision ID: me@mark.atwood.name-20110622054825-mf8nxjs9dxcpvcfe
bzr merge lp:~olafvdspek/drizzle/refactor12

Show diffs side-by-side

added added

removed removed

Lines of Context:
237
237
#endif
238
238
}
239
239
 
240
 
 
241
 
void Size::sql_type(String &res) const
242
 
{
243
 
  const charset_info_st * const cs=res.charset();
244
 
  res.length(cs->cset->snprintf(cs,(char*) res.ptr(),res.alloced_length(), "unsigned integer"));
245
 
}
246
 
 
247
 
 
248
240
unsigned char *Size::pack(unsigned char* to, const unsigned char *from, uint32_t, bool)
249
241
{
250
242
  int64_t val;