~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/open_tables_state.h

Collection of patches/bug fixes from new-cleanup tree (none of the
Table/other fixes are included).

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