Navigation Menu

Skip to content

Commit

Permalink
Check whether HA_CAN_REPAIR is available
Browse files Browse the repository at this point in the history
HA_CAN_REPAIR isn't available on MySQL 5.1
  • Loading branch information
kou committed Apr 28, 2012
1 parent 9d5c704 commit 9280805
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ha_mroonga.cpp
Expand Up @@ -2001,11 +2001,13 @@ ulonglong ha_mroonga::storage_table_flags() const
HA_CAN_BIT_FIELD |
HA_DUPLICATE_POS |
HA_CAN_GEOMETRY |
HA_CAN_RTREEKEYS |
HA_CAN_REPAIR;
HA_CAN_RTREEKEYS;
//HA_HAS_RECORDS;
#ifdef HA_MUST_USE_TABLE_CONDITION_PUSHDOWN
flags |= HA_MUST_USE_TABLE_CONDITION_PUSHDOWN;
#endif
#ifdef HA_CAN_REPAIR
table_flags |= HA_CAN_REPAIR;
#endif
DBUG_RETURN(flags);
}
Expand Down

0 comments on commit 9280805

Please sign in to comment.