~jaypipes/drizzle/explicit-transaction

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.h

  • Committer: Jay Pipes
  • Date: 2010-02-17 17:22:32 UTC
  • Revision ID: jpipes@serialcoder-20100217172232-7fzl13h9kqvucu4h
Remove StorageEngine::start_consitent_snapshot() and StorageEngine::enable(), disable() and is_enabled(). Unused.

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
  typedef uint64_t Table_flags;
142
142
 
143
143
private:
144
 
  bool enabled;
145
 
 
146
144
  const std::bitset<HTON_BIT_SIZE> flags; /* global Cursor flags */
147
145
 
148
146
  virtual void setTransactionReadWrite(Session& session);
227
225
  inline uint32_t getSlot (void) const { return slot; }
228
226
  inline void setSlot (uint32_t value) { slot= value; }
229
227
 
230
 
 
231
 
  bool is_enabled() const
232
 
  {
233
 
    return enabled;
234
 
  }
235
 
 
236
228
  bool is_user_selectable() const
237
229
  {
238
230
    return not flags.test(HTON_BIT_NOT_USER_SELECTABLE);
246
238
  // @todo match check_flag interface
247
239
  virtual uint32_t index_flags(enum  ha_key_alg) const { return 0; }
248
240
 
249
 
 
250
 
  void enable() { enabled= true; }
251
 
  void disable() { enabled= false; }
252
 
 
253
241
  /*
254
242
    StorageEngine methods:
255
243
 
265
253
  virtual Cursor *create(TableShare &, memory::Root *)= 0;
266
254
  /* args: path */
267
255
  virtual void drop_database(char*) { }
268
 
  virtual int start_consistent_snapshot(Session *) { return 0; }
269
256
  virtual bool flush_logs() { return false; }
270
257
  virtual bool show_status(Session *, stat_print_fn *, enum ha_stat_type)
271
258
  {