~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_delete.cc

  • 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:
844
844
    handlerton *table_type= table->s->db_type();
845
845
    TABLE_SHARE *share= table->s;
846
846
 
847
 
    if (!ha_check_storage_engine_flag(table_type, HTON_CAN_RECREATE))
 
847
    /* TODO: Remove to_ulong() */
 
848
    if (!ha_check_storage_engine_flag(table_type, HTON_CAN_RECREATE.to_ulong()))
848
849
      goto trunc_by_del;
849
850
 
850
851
    table->file->info(HA_STATUS_AUTO | HA_STATUS_NO_LOCK);