~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/definitions.h

  • Committer: Yoshinori Sano
  • Date: 2008-11-30 10:01:57 UTC
  • mto: (632.1.1 devel)
  • mto: This revision was merged to the branch mainline in revision 634.
  • Revision ID: ysano@139.1.168.192.in-addr.arpa-20081130100157-u7l3sucyvteuyk30
Replace "uint_32 flags" member of handlerton with std::bitset. Add some TODOs as comments for this change.

Show diffs side-by-side

added added

removed removed

Lines of Context:
818
818
 
819
819
enum ha_choice { HA_CHOICE_UNDEF, HA_CHOICE_NO, HA_CHOICE_YES };
820
820
 
821
 
/* Possible flags of a handlerton (there can be 32 of them) */
822
 
#define HTON_NO_FLAGS                 0
823
 
#define HTON_CLOSE_CURSORS_AT_COMMIT (1 << 0)
824
 
#define HTON_ALTER_NOT_SUPPORTED     (1 << 1) //Engine does not support alter
825
 
#define HTON_CAN_RECREATE            (1 << 2) //Delete all is used fro truncate
826
 
#define HTON_HIDDEN                  (1 << 3) //Engine does not appear in lists
827
 
#define HTON_FLUSH_AFTER_RENAME      (1 << 4)
828
 
#define HTON_NOT_USER_SELECTABLE     (1 << 5)
829
 
#define HTON_TEMPORARY_NOT_SUPPORTED (1 << 6) //Having temporary tables not supported
830
 
#define HTON_SUPPORT_LOG_TABLES      (1 << 7) //Engine supports log tables
831
 
#define HTON_NO_PARTITION            (1 << 8) //You can not partition these tables
832
821
/*
833
822
  The below two are not used (and not handled) in this milestone of this WL
834
823
  entry because there seems to be no use for them at this stage of