Kouhei Sutou
null+****@clear*****
Sat Jul 7 20:36:22 JST 2018
Kouhei Sutou 2018-07-07 20:36:22 +0900 (Sat, 07 Jul 2018) New Revision: cc4e942d51bd854ccf5d4274b1db1a560952f30b https://github.com/mroonga/mroonga/commit/cc4e942d51bd854ccf5d4274b1db1a560952f30b Message: Fix wrong value Modified files: ha_mroonga.cpp mrn_table.cpp Modified: ha_mroonga.cpp (+1 -1) =================================================================== --- ha_mroonga.cpp 2018-07-07 20:04:06 +0900 (e3d2acb7) +++ ha_mroonga.cpp 2018-07-07 20:36:22 +0900 (37816d2e) @@ -1465,7 +1465,7 @@ static int mrn_close_connection(handlerton *hton, THD *thd) *thd_ha_data(thd, mrn_hton_ptr) = (void *) NULL; { mrn::Lock lock(&mrn_allocated_thds_mutex); - grn_hash_delete(&mrn_ctx, mrn_allocated_thds, thd, sizeof(thd), NULL); + grn_hash_delete(&mrn_ctx, mrn_allocated_thds, &thd, sizeof(thd), NULL); } } DBUG_RETURN(0); Modified: mrn_table.cpp (+1 -1) =================================================================== --- mrn_table.cpp 2018-07-07 20:04:06 +0900 (fad50322) +++ mrn_table.cpp 2018-07-07 20:36:22 +0900 (0ca164f5) @@ -1224,7 +1224,7 @@ st_mrn_slot_data *mrn_get_slot_data(THD *thd, bool can_create) mrn::Lock lock(&mrn_allocated_thds_mutex); if (grn_hash_add(&mrn_ctx, mrn_allocated_thds, - thd, + &thd, sizeof(thd), NULL, NULL) == GRN_ID_NIL) { -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180707/111db587/attachment.htm