[Groonga-mysql-commit] mroonga/mroonga at 4f0ddcd [master] Must use thd_alloc() instead of thd->alloc() refs #1964

Back to archive index

shibakentoku null+****@clear*****
Thu Nov 21 01:52:05 JST 2013


shibakentoku	2013-11-21 01:52:05 +0900 (Thu, 21 Nov 2013)

  New Revision: 4f0ddcd4f858c3dc14c8d74acb577f43d3417faa
  https://github.com/mroonga/mroonga/commit/4f0ddcd4f858c3dc14c8d74acb577f43d3417faa

  Message:
    Must use thd_alloc() instead of thd->alloc() refs #1964

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2013-11-20 11:46:28 +0900 (0ddeb95)
+++ ha_mroonga.cpp    2013-11-21 01:52:05 +0900 (7afe925)
@@ -13411,7 +13411,7 @@ int ha_mroonga::wrapper_add_index(TABLE *table_arg, KEY *key_info,
   char **key_parser;
   uint *key_parser_length;
   MRN_DBUG_ENTER_METHOD();
-  KEY *wrap_key_info = (KEY *) thd->alloc(sizeof(KEY) * num_of_keys);
+  KEY *wrap_key_info = (KEY *) thd_alloc(thd, sizeof(KEY) * num_of_keys);
   KEY *p_key_info = &table->key_info[table_share->primary_key], *tmp_key_info;
   tmp_table_share.keys = n_keys + num_of_keys;
   if (!(tmp_share = (MRN_SHARE *)
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-mysql-commit mailing list
Back to archive index