~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.h

  • Committer: Brian Aker
  • Date: 2009-05-21 00:57:05 UTC
  • mto: This revision was merged to the branch mainline in revision 1032.
  • Revision ID: brian@gaz-20090521005705-rpq4hzhy761d3wbj
Straighten out structures (remove some some dead bits).

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
  const std::string name;
85
85
  const bool two_phase_commit;
86
86
  bool enabled;
 
87
 
87
88
  const std::bitset<HTON_BIT_SIZE> flags; /* global handler flags */
88
89
  /*
89
90
    to store per-savepoint data storage engine is provided with an area
112
113
 
113
114
public:
114
115
 
 
116
  StorageEngine(const std::string name_arg,
 
117
                const std::bitset<HTON_BIT_SIZE> &flags_arg= HTON_NO_FLAGS,
 
118
                size_t savepoint_offset_arg= 0,
 
119
                bool support_2pc= false);
 
120
 
 
121
  virtual ~StorageEngine();
 
122
 
115
123
  /*
116
124
    each storage engine has it's own memory area (actually a pointer)
117
125
    in the session, for storing per-connection information.
123
131
  */
124
132
  uint32_t slot;
125
133
 
126
 
  StorageEngine(const std::string name_arg,
127
 
                const std::bitset<HTON_BIT_SIZE> &flags_arg= HTON_NO_FLAGS,
128
 
                size_t savepoint_offset_arg= 0,
129
 
                bool support_2pc= false);
130
 
 
131
 
  virtual ~StorageEngine();
 
134
  inline uint32_t getSlot (void) { return slot; }
 
135
  inline void setSlot (uint32_t value) { slot= value; }
132
136
 
133
137
  const std::vector<std::string>& getAliases()
134
138
  {