Kouhei Sutou
null+****@clear*****
Fri Aug 10 18:38:41 JST 2018
Kouhei Sutou 2018-08-10 18:38:41 +0900 (Fri, 10 Aug 2018) New Revision: 8751316710c12302165c934b9b628356d372984c https://github.com/mroonga/mroonga/commit/8751316710c12302165c934b9b628356d372984c Message: mysql8 wrapper: use mrn_destroy() instead of raw delete Modified files: ha_mroonga.cpp Modified: ha_mroonga.cpp (+2 -2) =================================================================== --- ha_mroonga.cpp 2018-08-10 18:35:39 +0900 (7e13d1ab) +++ ha_mroonga.cpp 2018-08-10 18:38:41 +0900 (753416a1) @@ -4810,7 +4810,7 @@ int ha_mroonga::wrapper_open(const char *name, grn_table = NULL; // TODO: free indexes. - delete wrap_handler; + mrn_destroy(wrap_handler); wrap_handler = NULL; if (wrap_key_info) { @@ -5421,7 +5421,7 @@ int ha_mroonga::wrapper_close() #endif MRN_SET_BASE_SHARE_KEY(share, table->s); MRN_SET_BASE_TABLE_KEY(this, table); - delete wrap_handler; + mrn_destroy(wrap_handler); wrap_handler = NULL; if (wrap_key_info) { -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180810/4b5deaae/attachment.htm