~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_buff.cc

  • Committer: Stewart Smith
  • Date: 2008-09-15 07:13:59 UTC
  • mfrom: (383.1.21 drizzle)
  • mto: This revision was merged to the branch mainline in revision 408.
  • Revision ID: stewart@flamingspork.com-20080915071359-f8bznznyaiqrtqxa
merged

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
  Buffers to save and compare item values
22
22
*/
23
23
 
24
 
#include "mysql_priv.h"
 
24
#include <drizzled/server_includes.h>
25
25
 
26
26
/**
27
27
  Create right type of Cached_item for an item.
63
63
*/
64
64
 
65
65
Cached_item_str::Cached_item_str(THD *thd, Item *arg)
66
 
  :item(arg), value(min(arg->max_length, thd->variables.max_sort_length))
 
66
  :item(arg), value(min(arg->max_length, (uint32_t)thd->variables.max_sort_length))
67
67
{}
68
68
 
69
69
bool Cached_item_str::cmp(void)