~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.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:
449
449
  return (uint32_t) (sizeof(uint32_t) + portable_sizeof_char_ptr);
450
450
}
451
451
 
452
 
void Field_blob::sql_type(String &res) const
453
 
{
454
 
  if (charset() == &my_charset_bin)
455
 
    res.set_ascii(STRING_WITH_LEN("blob"));
456
 
  else
457
 
    res.set_ascii(STRING_WITH_LEN("text"));
458
 
}
459
 
 
460
452
unsigned char *Field_blob::pack(unsigned char *to, const unsigned char *from,
461
453
                                uint32_t max_length, bool low_byte_first)
462
454
{