~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.cc

  • Committer: Mark Atwood
  • Date: 2011-10-27 05:08:12 UTC
  • mfrom: (2445.1.11 rf)
  • Revision ID: me@mark.atwood.name-20111027050812-1icvs72lb0u4xdc4
mergeĀ lp:~olafvdspek/drizzle/refactor8

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
 
  str_value(""),
87
85
  var(var_arg),
88
86
  type(type_arg),
89
 
  base(*base_name_arg)
 
87
  base(base_name_arg)
90
88
{
91
89
  /*
92
90
    If the set value is a field, change it to a string to allow things like