~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/open_tables_state.h

  • Committer: Brian Aker
  • Date: 2009-07-10 06:40:04 UTC
  • mto: (1090.1.1 staging)
  • mto: This revision was merged to the branch mainline in revision 1091.
  • Revision ID: brian@gaz-20090710064004-1omqif60uedqw360
Removed dead flag code, style cleanup in FK. Removed dead structs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
  ulong version;
72
72
  uint32_t current_tablenr;
73
73
 
74
 
  enum enum_flags {
75
 
    BACKUPS_AVAIL = (1U << 0)     /* There are backups available */
76
 
  };
77
 
 
78
74
  /*
79
75
    Flags with information about the open tables state.
80
76
  */
81
 
  uint32_t state_flags;
 
77
  bool backups_available;
82
78
 
83
79
  /*
84
80
    This constructor serves for creation of Open_tables_state instances
85
81
    which are used as backup storage.
86
82
  */
87
 
  Open_tables_state() : state_flags(0U) { }
 
83
  Open_tables_state() : backups_available(false) { }
88
84
 
89
85
  Open_tables_state(ulong version_arg);
90
86
 
97
93
  {
98
94
    open_tables= temporary_tables= derived_tables= NULL;
99
95
    extra_lock= lock= NULL;
100
 
    state_flags= 0U;
 
96
    backups_available= false;
101
97
  }
102
98
};
103
99