null+****@clear*****
null+****@clear*****
2012年 3月 7日 (水) 08:49:23 JST
Kentoku 2012-03-07 08:49:23 +0900 (Wed, 07 Mar 2012) New Revision: f6e8a50a0abf840a2130198ffa9ecafaa0052c93 Log: [wrapper mode] support "insert on duplicate key update" for MyISAM. refs #1301 Modified files: ha_mroonga.cc Modified: ha_mroonga.cc (+3 -0) =================================================================== --- ha_mroonga.cc 2012-03-07 01:31:32 +0900 (334e3b0) +++ ha_mroonga.cc 2012-03-07 08:49:23 +0900 (5e4634b) @@ -3689,6 +3689,9 @@ int ha_mroonga::wrapper_info(uint flag) { int error = 0; MRN_DBUG_ENTER_METHOD(); + if (flag & HA_STATUS_ERRKEY) { + wrap_handler->dup_ref = dup_ref; + } MRN_SET_WRAP_SHARE_KEY(share, table->s); MRN_SET_WRAP_TABLE_KEY(this, table); error = wrap_handler->info(flag);