~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.cc

  • Committer: Stewart Smith
  • Date: 2011-01-14 05:14:53 UTC
  • mto: (2086.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2087.
  • Revision ID: stewart@flamingspork.com-20110114051453-q8nkbvby6n12cpqw
add some FIXMEs to ORDER BY docs about what should be added.

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) (getTable()->getSession()->variables.max_sort_length +
 
429
  return (uint32_t) (current_session->variables.max_sort_length +
430
430
                     (field_charset == &my_charset_bin ? 0 : sizeof(uint32_t)));
431
431
}
432
432