~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.h

  • Committer: Monty Taylor
  • Date: 2008-11-25 01:28:52 UTC
  • mto: This revision was merged to the branch mainline in revision 612.
  • Revision ID: mtaylor@bitters-20081125012852-v93e3xn33qpon6re
Fixed a few things for solaris builds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1023
1023
};
1024
1024
 
1025
1025
 
 
1026
class sys_var_max_user_conn : public sys_var_session
 
1027
{
 
1028
public:
 
1029
  sys_var_max_user_conn(sys_var_chain *chain, const char *name_arg):
 
1030
    sys_var_session(name_arg)
 
1031
  { chain_sys_var(chain); }
 
1032
  bool check(Session *session, set_var *var);
 
1033
  bool update(Session *session, set_var *var);
 
1034
  bool check_default(enum_var_type type)
 
1035
  {
 
1036
    return type != OPT_GLOBAL || !option_limits;
 
1037
  }
 
1038
  void set_default(Session *session, enum_var_type type);
 
1039
  SHOW_TYPE show_type() { return SHOW_INT; }
 
1040
  unsigned char *value_ptr(Session *session, enum_var_type type, LEX_STRING *base);
 
1041
};
 
1042
 
 
1043
 
1026
1044
class sys_var_microseconds :public sys_var_session
1027
1045
{
1028
1046
  uint64_t SV::*offset;