~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.h

  • Committer: Brian Aker
  • Date: 2008-12-23 20:53:56 UTC
  • Revision ID: brian@tangent.org-20081223205356-2xf3l1ozh4sl5h02
Dead code around variables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
732
732
  virtual void set_default(Session *session, enum_var_type type)= 0;
733
733
};
734
734
 
735
 
class sys_var_character_set :public sys_var_session
736
 
{
737
 
public:
738
 
  bool nullable;
739
 
  sys_var_character_set(const char *name_arg, bool is_nullable= 0,
740
 
                        Binlog_status_enum binlog_status_arg= NOT_IN_BINLOG)
741
 
    :sys_var_session(name_arg, NULL, binlog_status_arg), nullable(is_nullable)
742
 
  { }
743
 
  bool check(Session *session, set_var *var);
744
 
  SHOW_TYPE show_type() { return SHOW_CHAR; }
745
 
  bool check_update_type(Item_result type)
746
 
  {
747
 
    return ((type != STRING_RESULT) && (type != INT_RESULT));
748
 
  }
749
 
  bool check_default(enum_var_type)
750
 
  { return 0; }
751
 
  bool update(Session *session, set_var *var);
752
 
  unsigned char *value_ptr(Session *session, enum_var_type type, LEX_STRING *base);
753
 
  virtual void set_default(Session *session, enum_var_type type)= 0;
754
 
  virtual const CHARSET_INFO **ci_ptr(Session *session, enum_var_type type)= 0;
755
 
};
756
 
 
757
735
class sys_var_collation_sv :public sys_var_collation
758
736
{
759
737
  const CHARSET_INFO *SV::*offset;