~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.h

  • Committer: Monty Taylor
  • Date: 2011-01-11 03:35:19 UTC
  • mto: This revision was merged to the branch mainline in revision 2074.
  • Revision ID: mordred@inaugust.com-20110111033519-x141bdubt09jy0py
First step in getting that anonymous union out of set_var.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
class set_var :
68
68
  public set_var_base
69
69
{
 
70
  std::string str_value;
70
71
public:
71
72
  sys_var *var;
72
73
  Item *value;
87
88
          const LEX_STRING *base_name_arg, Item *value_arg);
88
89
  int check(Session *session);
89
90
  int update(Session *session);
 
91
  void setValue(const std::string &new_value);
 
92
  void setValue(uint64_t new_value);
 
93
  void updateValue();
 
94
 
 
95
  uint64_t getInteger()
 
96
  {
 
97
    return save_result.uint64_t_value;
 
98
  }
 
99
 
90
100
};
91
101
 
92
102
/* User variables like @my_own_variable */