null+****@clear*****
null+****@clear*****
2012年 4月 29日 (日) 08:48:21 JST
Kouhei Sutou 2012-04-29 08:48:21 +0900 (Sun, 29 Apr 2012) New Revision: 92808054462382498928578718e42667f2678ed7 Log: Check whether HA_CAN_REPAIR is available HA_CAN_REPAIR isn't available on MySQL 5.1 Modified files: ha_mroonga.cpp Modified: ha_mroonga.cpp (+4 -2) =================================================================== --- ha_mroonga.cpp 2012-04-29 08:40:54 +0900 (3764beb) +++ ha_mroonga.cpp 2012-04-29 08:48:21 +0900 (ab46374) @@ -2001,12 +2001,14 @@ 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); }