~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.cc

  • Committer: Lee Bieber
  • Date: 2011-02-10 01:09:23 UTC
  • mfrom: (2152.2.1 alter-table)
  • Revision ID: kalebral@gmail.com-20110210010923-mbwuwow0nudk7ryh
Merge Brian - more parser rework

Show diffs side-by-side

added added

removed removed

Lines of Context:
426
426
 
427
427
uint32_t Field_blob::sort_length() const
428
428
{
429
 
  return (uint32_t) (current_session->variables.max_sort_length +
 
429
  return (uint32_t) (getTable()->getSession()->variables.max_sort_length +
430
430
                     (field_charset == &my_charset_bin ? 0 : sizeof(uint32_t)));
431
431
}
432
432