~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-24 21:55:16 UTC
  • mto: This revision was merged to the branch mainline in revision 2449.
  • Revision ID: olafvdspek@gmail.com-20111024215516-eu30mb3yhh9a28zq
Use str_ref

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
/*****************************************************************************
81
81
  Functions to handle SET mysql_internal_variable=const_expr
82
82
*****************************************************************************/
83
 
set_var::set_var(sql_var_t type_arg, sys_var *var_arg,
84
 
                 const lex_string_t *base_name_arg, Item *value_arg) :
 
83
set_var::set_var(sql_var_t type_arg, sys_var *var_arg, str_ref base_name_arg, Item *value_arg) :
85
84
  uint64_t_value(0),
86
85
  var(var_arg),
87
86
  type(type_arg),
88
 
  base(*base_name_arg)
 
87
  base(base_name_arg)
89
88
{
90
89
  /*
91
90
    If the set value is a field, change it to a string to allow things like