~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/set_user_var.cc

Big merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
315
315
  str->append(')');
316
316
}
317
317
 
318
 
 
319
 
void Item_func_set_user_var::print_as_stmt(String *str,
320
 
                                           enum_query_type query_type)
321
 
{
322
 
  str->append(STRING_WITH_LEN("set @"));
323
 
  str->append(name.str, name.length);
324
 
  str->append(STRING_WITH_LEN(":="));
325
 
  args[0]->print(str, query_type);
326
 
  str->append(')');
327
 
}
328
 
 
329
318
bool Item_func_set_user_var::send(plugin::Client *client, String *str_arg)
330
319
{
331
320
  if (result_field)