~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.h

  • Committer: Brian Aker
  • Date: 2008-11-25 21:23:39 UTC
  • Revision ID: brian@tangent.org-20081125212339-3aifrwgep1pscsk7
Removed ulong methods from vars.

Show diffs side-by-side

added added

removed removed

Lines of Context:
455
455
};
456
456
 
457
457
 
458
 
class sys_var_session_ulong :public sys_var_session
459
 
{
460
 
  sys_check_func check_func;
461
 
public:
462
 
  ulong SV::*offset;
463
 
  sys_var_session_ulong(sys_var_chain *chain, const char *name_arg,
464
 
                    ulong SV::*offset_arg,
465
 
                    sys_check_func c_func= NULL,
466
 
                    sys_after_update_func au_func= NULL,
467
 
                    Binlog_status_enum binlog_status_arg= NOT_IN_BINLOG)
468
 
    :sys_var_session(name_arg, au_func, binlog_status_arg), check_func(c_func),
469
 
    offset(offset_arg)
470
 
  { chain_sys_var(chain); }
471
 
  bool check(Session *session, set_var *var);
472
 
  bool update(Session *session, set_var *var);
473
 
  void set_default(Session *session, enum_var_type type);
474
 
  SHOW_TYPE show_type() { return SHOW_LONG; }
475
 
  unsigned char *value_ptr(Session *session, enum_var_type type, LEX_STRING *base);
476
 
};
477
 
 
478
 
 
479
458
class sys_var_session_ha_rows :public sys_var_session
480
459
{
481
460
public: