Navigation Menu

Skip to content

Commit

Permalink
[wrapper] add HA_CAN_REPAIR availability check. refs #1191
Browse files Browse the repository at this point in the history
Reported by Kazuhiko Shiozaki. Thanks!!!
  • Loading branch information
kou committed Dec 9, 2011
1 parent b06686f commit df89d96
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ha_mroonga.cc
Expand Up @@ -1377,7 +1377,10 @@ ulonglong ha_mroonga::wrapper_table_flags() const
MRN_SET_WRAP_TABLE_KEY(this, table);
table_flags = wrap_handler->ha_table_flags() |
HA_CAN_FULLTEXT | HA_PRIMARY_KEY_REQUIRED_FOR_DELETE |
HA_CAN_RTREEKEYS | HA_CAN_REPAIR;
HA_CAN_RTREEKEYS;
#ifdef HA_CAN_REPAIR
table_flags |= HA_CAN_REPAIR;
#endif
MRN_SET_BASE_SHARE_KEY(share, table->s);
MRN_SET_BASE_TABLE_KEY(this, table);
DBUG_RETURN(table_flags);
Expand Down

0 comments on commit df89d96

Please sign in to comment.