~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_buff.cc

  • Committer: Brian Aker
  • Date: 2008-10-20 03:40:03 UTC
  • mto: (492.3.21 drizzle-clean-code)
  • mto: This revision was merged to the branch mainline in revision 530.
  • Revision ID: brian@tangent.org-20081020034003-t2dcnl0ayr2ymm8k
THD -> Session rename

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
  Create right type of Cached_item for an item.
28
28
*/
29
29
 
30
 
Cached_item *new_Cached_item(THD *thd, Item *item, bool use_result_field)
 
30
Cached_item *new_Cached_item(Session *thd, Item *item, bool use_result_field)
31
31
{
32
32
  if (item->real_item()->type() == Item::FIELD_ITEM &&
33
33
      !(((Item_field *) (item->real_item()))->field->flags & BLOB_FLAG))
62
62
    Return true if values have changed
63
63
*/
64
64
 
65
 
Cached_item_str::Cached_item_str(THD *thd, Item *arg)
 
65
Cached_item_str::Cached_item_str(Session *thd, Item *arg)
66
66
  :item(arg), value(cmin(arg->max_length, (uint32_t)thd->variables.max_sort_length))
67
67
{}
68
68