~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/set_user_var.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-06 18:18:31 UTC
  • mto: This revision was merged to the branch mainline in revision 2433.
  • Revision ID: olafvdspek@gmail.com-20111006181831-1ix5b80ry7iifbjf
Use lex_string assign(), data() and size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
307
307
void Item_func_set_user_var::print(String *str)
308
308
{
309
309
  str->append(STRING_WITH_LEN("(@"));
310
 
  str->append(name.str, name.length);
 
310
  str->append(name);
311
311
  str->append(STRING_WITH_LEN(":="));
312
312
  args[0]->print(str);
313
313
  str->append(')');