~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.h

  • Committer: Brian Aker
  • Date: 2009-07-29 07:29:19 UTC
  • mfrom: (1103.1.4 merge)
  • Revision ID: brian@gaz-20090729072919-1pv9yqddtpoljgia
Merge of SJ code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
/* Possible flags of a StorageEngine (there can be 32 of them) */
47
47
enum engine_flag_bits {
48
 
  HTON_BIT_CLOSE_CURSORS_AT_COMMIT,
49
48
  HTON_BIT_ALTER_NOT_SUPPORTED,       // Engine does not support alter
50
49
  HTON_BIT_CAN_RECREATE,              // Delete all is used for truncate
51
50
  HTON_BIT_HIDDEN,                    // Engine does not appear in lists
59
58
};
60
59
 
61
60
static const std::bitset<HTON_BIT_SIZE> HTON_NO_FLAGS(0);
62
 
static const std::bitset<HTON_BIT_SIZE> HTON_CLOSE_CURSORS_AT_COMMIT(1 <<  HTON_BIT_CLOSE_CURSORS_AT_COMMIT);
63
61
static const std::bitset<HTON_BIT_SIZE> HTON_ALTER_NOT_SUPPORTED(1 << HTON_BIT_ALTER_NOT_SUPPORTED);
64
62
static const std::bitset<HTON_BIT_SIZE> HTON_CAN_RECREATE(1 << HTON_BIT_CAN_RECREATE);
65
63
static const std::bitset<HTON_BIT_SIZE> HTON_HIDDEN(1 << HTON_BIT_HIDDEN);