~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.cc

  • Committer: Mark Atwood
  • Date: 2011-10-21 14:25:19 UTC
  • mfrom: (2440.2.28 rf)
  • Revision ID: me@mark.atwood.name-20111021142519-bqnyqrkthibv70rc
Tags: 2011.10.28
mergeĀ lp:~olafvdspek/drizzle/refactor6

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
  if (value_arg && value_arg->type() == Item::FIELD_ITEM)
96
96
  {
97
97
    Item_field *item= (Item_field*) value_arg;
98
 
    value=new Item_string(item->field_name, (uint32_t) strlen(item->field_name), item->collation.collation);
 
98
    value= new Item_string(str_ref(item->field_name), item->collation.collation);
99
99
  }
100
100
  else
101
101
  {