~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.h

  • Committer: Brian Aker
  • Date: 2009-11-10 19:12:28 UTC
  • mto: This revision was merged to the branch mainline in revision 1210.
  • Revision ID: brian@gaz-20091110191228-xza6ainzo0yxtzvw
Merge Truncate patch. This fixes all of the "half setup" of Truncate. Still
leaves open the question of what we should be doing in replication.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
/* Possible flags of a StorageEngine (there can be 32 of them) */
49
49
enum engine_flag_bits {
50
50
  HTON_BIT_ALTER_NOT_SUPPORTED,       // Engine does not support alter
51
 
  HTON_BIT_CAN_RECREATE,              // Delete all is used for truncate
52
51
  HTON_BIT_HIDDEN,                    // Engine does not appear in lists
53
52
  HTON_BIT_FLUSH_AFTER_RENAME,
54
53
  HTON_BIT_NOT_USER_SELECTABLE,
62
61
 
63
62
static const std::bitset<HTON_BIT_SIZE> HTON_NO_FLAGS(0);
64
63
static const std::bitset<HTON_BIT_SIZE> HTON_ALTER_NOT_SUPPORTED(1 << HTON_BIT_ALTER_NOT_SUPPORTED);
65
 
static const std::bitset<HTON_BIT_SIZE> HTON_CAN_RECREATE(1 << HTON_BIT_CAN_RECREATE);
66
64
static const std::bitset<HTON_BIT_SIZE> HTON_HIDDEN(1 << HTON_BIT_HIDDEN);
67
65
static const std::bitset<HTON_BIT_SIZE> HTON_FLUSH_AFTER_RENAME(1 << HTON_BIT_FLUSH_AFTER_RENAME);
68
66
static const std::bitset<HTON_BIT_SIZE> HTON_NOT_USER_SELECTABLE(1 << HTON_BIT_NOT_USER_SELECTABLE);