~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.cc

  • Committer: Monty Taylor
  • Date: 2008-11-18 22:12:56 UTC
  • mto: (589.1.3 devel)
  • mto: This revision was merged to the branch mainline in revision 589.
  • Revision ID: monty@inaugust.com-20081118221256-ap2kmj073pdw7uap
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include <drizzled/server_includes.h>
23
23
#include <drizzled/field/blob.h>
 
24
#include <drizzled/table.h>
 
25
#include <drizzled/session.h>
 
26
 
24
27
 
25
28
uint32_t
26
29
blob_pack_length_to_max_length(uint32_t arg)
447
450
 
448
451
uint32_t Field_blob::sort_length() const
449
452
{
450
 
  return (uint32_t) (current_session->variables.max_sort_length + 
 
453
  return (uint32_t) (current_session->variables.max_sort_length +
451
454
                   (field_charset == &my_charset_bin ? 0 : packlength));
452
455
}
453
456