~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sys_var.h

  • Committer: Monty Taylor
  • Date: 2010-12-03 19:56:07 UTC
  • mto: (1975.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1976.
  • Revision ID: mordred@inaugust.com-20101203195607-yw50aynlw04dt5k6
All protocol stuff except for the buffer_length. WTF?

Show diffs side-by-side

added added

removed removed

Lines of Context:
225
225
  { return (unsigned char*) value; }
226
226
};
227
227
 
 
228
class sys_var_uint32_t_ptr_readonly :
 
229
  public sys_var_uint32_t_ptr
 
230
{
 
231
public:
 
232
  sys_var_uint32_t_ptr_readonly(const char *name_arg,
 
233
                                uint32_t *value_ptr_arg) :
 
234
    sys_var_uint32_t_ptr(name_arg, value_ptr_arg)
 
235
  {}
 
236
 
 
237
  sys_var_uint32_t_ptr_readonly(const char *name_arg,
 
238
                                uint32_t *value_ptr_arg,
 
239
                                sys_after_update_func func) :
 
240
    sys_var_uint32_t_ptr(name_arg, value_ptr_arg, func)
 
241
  {}
 
242
 
 
243
  bool is_readonly() const
 
244
  {
 
245
    return true;
 
246
  }
 
247
};
 
248
 
228
249
 
229
250
class sys_var_uint64_t_ptr :public sys_var
230
251
{